From 6221d74644922ea4bbba3ed9cd8bbec42398f77b Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 16 May 2009 23:34:14 +0000 Subject: (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) --- src/station_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_map.h') 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)); } -- cgit v1.2.3-54-g00ecf