diff options
-rw-r--r-- | station_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/station_map.h b/station_map.h index fe9d5a805..0aed8b432 100644 --- a/station_map.h +++ b/station_map.h @@ -162,6 +162,7 @@ static inline bool IsHangarTile(TileIndex t) static inline Axis GetRailStationAxis(TileIndex t) { + assert(IsRailwayStation(t)); return HASBIT(GetStationGfx(t), 0) ? AXIS_Y : AXIS_X; } |