diff options
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/station_cmd.c b/station_cmd.c index c5a1475cc..98fe79fe6 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -16,7 +16,7 @@ #include "player.h" #include "airport.h" #include "sprite.h" -#include "table/directions.h" +#include "npf.h" // FIXME -- need to be embedded into Airport variable. Is dynamically // deducteable from graphics-tile array, so will not be needed @@ -2277,10 +2277,6 @@ static void ClickTile_Station(uint tile) } } -static inline bool IsTrainStationTile(uint tile) { - return IsTileType(tile, MP_STATION) && IS_BYTE_INSIDE(_map5[tile], 0, 8); -} - static const byte _enter_station_speedtable[12] = { 215, 195, 175, 155, 135, 115, 95, 75, 55, 35, 15, 0 }; |