summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/base_station_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base_station_base.h b/src/base_station_base.h
index a5dbd124f..0c9aee77b 100644
--- a/src/base_station_base.h
+++ b/src/base_station_base.h
@@ -92,7 +92,7 @@ struct BaseStation : StationPool::PoolItem<&_station_pool> {
* @param tile A tile that contains the platform in question
* @return The length of the platform
*/
- virtual uint GetPlatformLength(TileIndex tile, DiagDirection dir) const = 0;
+ virtual uint GetPlatformLength(TileIndex tile) const = 0;
/**
* Determines the REMAINING length of a platform, starting at (and including)
@@ -101,7 +101,7 @@ struct BaseStation : StationPool::PoolItem<&_station_pool> {
* @param dir The direction in which to search.
* @return The platform length
*/
- virtual uint GetPlatformLength(TileIndex tile) const = 0;
+ virtual uint GetPlatformLength(TileIndex tile, DiagDirection dir) const = 0;
/**
* Get the base station belonging to a specific tile.