diff --git a/station_map.h b/station_map.h index fe9d5a8052..0aed8b4320 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; }