File diff r27165:ea28ecab6159 → r27166:64e04a3ef9b1
src/town_map.h
Show inline comments
 
@@ -12,6 +12,7 @@
 

	
 
#include "road_map.h"
 
#include "house.h"
 
#include "timer/timer_game_calendar.h"
 

	
 
/**
 
 * Get the index of which town this house/street is attached to.
 
@@ -246,7 +247,7 @@ static inline void IncrementHouseAge(Til
 
 * @pre IsTileType(t, MP_HOUSE)
 
 * @return year
 
 */
 
static inline Year GetHouseAge(Tile t)
 
static inline TimerGameCalendar::Year GetHouseAge(Tile t)
 
{
 
	assert(IsTileType(t, MP_HOUSE));
 
	return IsHouseCompleted(t) ? t.m5() : 0;