diff options
author | smatz <smatz@openttd.org> | 2009-06-24 17:39:54 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-24 17:39:54 +0000 |
commit | 8343340acb5bdb40555e04f40aac567d6e583bb8 (patch) | |
tree | 29b17ad863977abd3d3417dd8bbf84e01cfc261d /src/station_map.h | |
parent | b18bf87c9081c3d202897e9c3ed282729db415a4 (diff) | |
download | openttd-8343340acb5bdb40555e04f40aac567d6e583bb8.tar.xz |
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
Diffstat (limited to 'src/station_map.h')
-rw-r--r-- | src/station_map.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/station_map.h b/src/station_map.h index 04b17c235..6c7d15026 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -9,7 +9,6 @@ #include "road_map.h" #include "water_map.h" #include "station_func.h" -#include "station_base.h" #include "rail.h" typedef byte StationGfx; @@ -24,11 +23,6 @@ static inline StationID GetStationIndex(TileIndex t) return (StationID)_m[t].m2; } -static inline Station *GetStationByTile(TileIndex t) -{ - return Station::Get(GetStationIndex(t)); -} - enum { GFX_RADAR_LARGE_FIRST = 31, |