town_map.h
author Darkvater
Sun, 26 Mar 2006 21:07:56 +0000
changeset 3339 cd4199eef081
parent 3319 16c0f06829a5
child 3369 cab209754317
permissions -rw-r--r--
(svn r4123) - Forward-port the release-changes from the 0.4 branch back to trunk. This ensures an updated changelog, known-bugs, etc.
/* $Id$ */

#include "town.h"


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

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