1 /* $Id$ */
2
3 #include "town.h"
4
5
6 static inline uint GetTownIndex(TileIndex t)
7 {
8 return _m[t].m2;
9 }
10
11 static inline Town* GetTownByTile(TileIndex t)
12 {
13 return GetTown(GetTownIndex(t));
14 }