tron@3319: /* $Id$ */ tron@3319: tron@3319: #include "town.h" tron@3319: tron@3319: tron@3319: static inline uint GetTownIndex(TileIndex t) tron@3319: { tron@3319: return _m[t].m2; tron@3319: } tron@3319: tron@3319: static inline Town* GetTownByTile(TileIndex t) tron@3319: { tron@3319: return GetTown(GetTownIndex(t)); tron@3319: }