Files @ r3335:7d1141987f3d
Branch filter:

Location: cpp/openttd-patchpack/source/town_map.h

Darkvater
(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));
}