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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_map.h b/src/station_map.h
index 52e72657d..0ab951b31 100644
--- a/src/station_map.h
+++ b/src/station_map.h
@@ -401,7 +401,7 @@ static inline TileIndexDiffC GetDockOffset(TileIndex t)
static inline bool IsCustomStationSpecIndex(TileIndex t)
{
- assert(IsTileType(t, MP_STATION));
+ assert(HasStationTileRail(t));
return _m[t].m4 != 0;
}