@ -38,6 +38,8 @@ static const uint TOWN_GROWTH_DESERT = 0xFFFFFFFF; ///< The town needs the cargo
staticconstuint16TOWN_GROWTH_RATE_NONE=0xFFFF;///< Special value for Town::growth_rate to disable town growth.
staticconstuint16MAX_TOWN_GROWTH_TICKS=930;///< Max amount of original town ticks that still fit into uint16, about equal to UINT16_MAX / TOWN_GROWTH_TICKS but slightly less to simplify calculations
staticconstbyteTOWN_COUNCIL_INDIFFERENT=0xFF;
typedefPool<Town,TownID,64,64000>TownPool;
externTownPool_town_pool;
@ -148,7 +150,7 @@ struct Town : TownPool::PoolItem<&_town_pool> {
*/
inlineuint16MaxTownNoise()const
{
if(this->cache.population==0)return0;// no population? no noise
if(this->cache.population==0||_settings_game.difficulty.town_council_tolerance==TOWN_COUNCIL_INDIFFERENT)return0;// no population? no noise
/* 3 is added (the noise of the lowest airport), so the user can at least build a small airfield. */