diff options
author | frosch <frosch@openttd.org> | 2010-08-20 12:50:59 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-20 12:50:59 +0000 |
commit | 03ab15893590a53616e2d5f01570317c4fd20866 (patch) | |
tree | 7f3bf5fe95ac74839553ae6e39183310935d6a86 /src/station_gui.cpp | |
parent | de973a4d60ee2faf996a61a210e72d05f93640e2 (diff) | |
download | openttd-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.cpp | 2 |
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++) { |