(svn r4166) Sprinkle several map accessors with assert()s
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
static inline uint GetTownIndex(TileIndex t)
|
||||
{
|
||||
assert(IsTileType(t, MP_HOUSE) || IsTileType(t, MP_STREET)); // XXX incomplete
|
||||
return _m[t].m2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user