Files @ r3364:b604bde0e49a
Branch filter:

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

bjarni
(svn r4159) added missing comments about refitting in CmdCloneVehicle
/* $Id$ */

#include "town.h"


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

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