mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE.
This commit is contained in:
parent
4a1706d5b0
commit
d64ce48f4d
@ -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
Block a user