summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-20 12:50:59 +0000
committerfrosch <frosch@openttd.org>2010-08-20 12:50:59 +0000
commit03ab15893590a53616e2d5f01570317c4fd20866 (patch)
tree7f3bf5fe95ac74839553ae6e39183310935d6a86 /src/station_gui.cpp
parentde973a4d60ee2faf996a61a210e72d05f93640e2 (diff)
downloadopenttd-03ab15893590a53616e2d5f01570317c4fd20866.tar.xz
(svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index b290a1b84..97dbf5c72 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -234,7 +234,7 @@ protected:
const Station *st;
FOR_ALL_STATIONS(st) {
- if (st->owner == owner || (st->owner == OWNER_NONE && HasStationInUse(st->index, owner))) {
+ if (st->owner == owner || (st->owner == OWNER_NONE && HasStationInUse(st->index, true, owner))) {
if (this->facilities & st->facilities) { // only stations with selected facilities
int num_waiting_cargo = 0;
for (CargoID j = 0; j < NUM_CARGO; j++) {