--- a/town_map.h Thu Mar 30 09:26:17 2006 +0000
+++ b/town_map.h Thu Mar 30 09:29:01 2006 +0000
@@ -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;
}