town_map.h
changeset 3369 00c2ca209a89
parent 3319 7d04847e4689
child 3377 014725164f97
--- 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;
 }