From 03ab15893590a53616e2d5f01570317c4fd20866 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 20 Aug 2010 12:50:59 +0000 Subject: (svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles. --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_gui.cpp') 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++) { -- cgit v1.2.3-54-g00ecf