summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_map.h')
-rw-r--r--src/station_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_map.h b/src/station_map.h
index 0ab951b31..55d5c4139 100644
--- a/src/station_map.h
+++ b/src/station_map.h
@@ -407,13 +407,13 @@ static inline bool IsCustomStationSpecIndex(TileIndex t)
static inline void SetCustomStationSpecIndex(TileIndex t, byte specindex)
{
- assert(IsTileType(t, MP_STATION));
+ assert(HasStationTileRail(t));
_m[t].m4 = specindex;
}
static inline uint GetCustomStationSpecIndex(TileIndex t)
{
- assert(IsTileType(t, MP_STATION));
+ assert(HasStationTileRail(t));
return _m[t].m4;
}