You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/* $Id$ */
|
|
|
|
#include "town.h"
|
|
|
|
|
|
static inline uint GetTownIndex(TileIndex t)
|
|
{
|
|
return _m[t].m2;
|
|
}
|
|
|
|
static inline Town* GetTownByTile(TileIndex t)
|
|
{
|
|
return GetTown(GetTownIndex(t));
|
|
}
|