(svn r4166) Sprinkle several map accessors with assert()s

This commit is contained in:
tron
2006-03-30 09:29:01 +00:00
parent 5476fd4b96
commit bbf4f982a0
9 changed files with 230 additions and 53 deletions

View File

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