summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-24 17:39:54 +0000
committersmatz <smatz@openttd.org>2009-06-24 17:39:54 +0000
commit8343340acb5bdb40555e04f40aac567d6e583bb8 (patch)
tree29b17ad863977abd3d3417dd8bbf84e01cfc261d /src/station_map.h
parentb18bf87c9081c3d202897e9c3ed282729db415a4 (diff)
downloadopenttd-8343340acb5bdb40555e04f40aac567d6e583bb8.tar.xz
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
Diffstat (limited to 'src/station_map.h')
-rw-r--r--src/station_map.h6
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,