You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
185 B
C
15 lines
185 B
C
19 years ago
|
/* $Id$ */
|
||
|
|
||
|
#include "town.h"
|
||
|
|
||
|
|
||
|
static inline uint GetTownIndex(TileIndex t)
|
||
|
{
|
||
|
return _m[t].m2;
|
||
|
}
|
||
|
|
||
|
static inline Town* GetTownByTile(TileIndex t)
|
||
|
{
|
||
|
return GetTown(GetTownIndex(t));
|
||
|
}
|