diff options
author | yexo <yexo@openttd.org> | 2010-01-21 13:34:05 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-21 13:34:05 +0000 |
commit | 18e7ec6b3e4786af0488ccae32bf83e59834fbd4 (patch) | |
tree | 987dbae0083710cc4665f202e544da9a33b916f3 /src/station_map.h | |
parent | f608ad7bafab32db9a16c0d5e1aeab23b3860389 (diff) | |
download | openttd-18e7ec6b3e4786af0488ccae32bf83e59834fbd4.tar.xz |
(svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles
Diffstat (limited to 'src/station_map.h')
-rw-r--r-- | src/station_map.h | 2 |
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; } |