diff options
Diffstat (limited to 'town_map.h')
-rw-r--r-- | town_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/town_map.h b/town_map.h index 364d0047f..98b97007d 100644 --- a/town_map.h +++ b/town_map.h @@ -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; } |