mirror of https://github.com/OpenTTD/OpenTTD
(svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE.
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