(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user