Files @ r3351:6022f70efed1
Branch filter:

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

belugas
(svn r4136) CodeChange : Revert part of r4092 (as spotted by Tron) and clean-up a little further
/* $Id$ */

#include "town.h"


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

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