diff options
Diffstat (limited to 'town_map.h')
-rw-r--r-- | town_map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/town_map.h b/town_map.h index 98b97007d..48d3ad94b 100644 --- a/town_map.h +++ b/town_map.h @@ -2,6 +2,11 @@ #include "town.h" +static inline int GetHouseType(TileIndex t) +{ + assert(IsTileType(t, MP_HOUSE)); + return _m[t].m4; +} static inline uint GetTownIndex(TileIndex t) { |