town_map.h
author Darkvater
Fri, 24 Mar 2006 17:40:55 +0000
changeset 3325 a4658b5fb123
parent 3319 7d04847e4689
child 3369 00c2ca209a89
permissions -rw-r--r--
(svn r4091) - Fix r4075. Do not "enter" please.
/* $Id$ */

#include "town.h"


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

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