mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 23:10:04 +00:00
(svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE.
This commit is contained in:
parent
fd86b0608d
commit
870d2eafbf
@ -2010,7 +2010,7 @@ void IndustryBuildData::MonthlyLoop()
|
||||
*/
|
||||
void GenerateIndustries()
|
||||
{
|
||||
if (_settings_game.difficulty.number_industries == 0) return; // No industries.
|
||||
if (_game_mode != GM_EDITOR && _settings_game.difficulty.number_industries == 0) return; // No industries in the game.
|
||||
|
||||
uint32 industry_probs[NUM_INDUSTRYTYPES];
|
||||
bool force_at_least_one[NUM_INDUSTRYTYPES];
|
||||
|
Loading…
Reference in New Issue
Block a user