diff options
Diffstat (limited to 'src/station_map.h')
-rw-r--r-- | src/station_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_map.h b/src/station_map.h index e706dd2a6..06da1588f 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -26,7 +26,7 @@ static inline StationID GetStationIndex(TileIndex t) static inline Station *GetStationByTile(TileIndex t) { - return GetStation(GetStationIndex(t)); + return Station::Get(GetStationIndex(t)); } |