mirror of https://github.com/OpenTTD/OpenTTD
(svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE.
parent
870d2eafbf
commit
a5921c0514
|
@ -1903,7 +1903,7 @@ static uint GetNumberOfIndustries()
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(_settings_game.difficulty.number_industries < lengthof(numof_industry_table));
|
assert(_settings_game.difficulty.number_industries < lengthof(numof_industry_table));
|
||||||
uint difficulty = (_game_mode != GM_EDITOR) ? _settings_game.difficulty.number_industries : 1;
|
uint difficulty = (_game_mode != GM_EDITOR) ? _settings_game.difficulty.number_industries : 2;
|
||||||
return ScaleByMapSize(numof_industry_table[difficulty]);
|
return ScaleByMapSize(numof_industry_table[difficulty]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue