summaryrefslogtreecommitdiff
path: root/src/station_func.h
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_func.h
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_func.h')
-rw-r--r--src/station_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_func.h b/src/station_func.h
index 2a2d8314d..245aa8f63 100644
--- a/src/station_func.h
+++ b/src/station_func.h
@@ -34,7 +34,7 @@ void UpdateStationAcceptance(Station *st, bool show_msg);
const DrawTileSprites *GetStationTileLayout(StationType st, byte gfx);
void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, RoadType roadtype, int image);
-bool HasStationInUse(StationID station, CompanyID company);
+bool HasStationInUse(StationID station, bool include_company, CompanyID company);
RoadStop *GetRoadStopByTile(TileIndex tile, RoadStopType type);
uint GetNumRoadStops(const Station *st, RoadStopType type);