(svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles

This commit is contained in:
yexo
2010-01-21 13:34:05 +00:00
parent 149af66877
commit 077cdefc9b
3 changed files with 31 additions and 31 deletions

View File

@@ -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;
}