File diff r12239:4ede50b8e95b → r12240:9443a1e602a7
src/town.h
Show inline comments
 
@@ -135,13 +135,13 @@ struct Town : TownPool::PoolItem<&_town_
 

	
 
		return ((this->population / _settings_game.economy.town_noise_population[_settings_game.difficulty.town_council_tolerance]) + 3);
 
	}
 

	
 
	static FORCEINLINE Town *GetByTile(TileIndex tile)
 
	{
 
		return Town::Get(GetTownIndex(tile));
 
	}
 
};
 

	
 
static inline Town *GetTownByTile(TileIndex tile)
 
{
 
	return Town::Get(GetTownIndex(tile));
 
}
 

	
 
uint32 GetWorldPopulation();
 

	
 
void UpdateTownVirtCoord(Town *t);