town_map.h
author Darkvater
Sun, 26 Mar 2006 16:29:20 +0000
changeset 3335 caea2aff4db6
parent 3319 16c0f06829a5
child 3369 cab209754317
permissions -rw-r--r--
(svn r4114) - Add missing source files to VS2003/VS6 project files added in r4113
/* $Id$ */

#include "town.h"


static inline uint GetTownIndex(TileIndex t)
{
	return _m[t].m2;
}

static inline Town* GetTownByTile(TileIndex t)
{
	return GetTown(GetTownIndex(t));
}