mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r4947) - Fix [FS#145]: Starting scenarios did not adhere to local difficulty settings
This commit is contained in:
parent
979b640f19
commit
bbfb399c29
|
@ -625,6 +625,7 @@ static void MakeNewEditorWorld(void)
|
||||||
|
|
||||||
void StartupPlayers(void);
|
void StartupPlayers(void);
|
||||||
void StartupDisasters(void);
|
void StartupDisasters(void);
|
||||||
|
extern void StartupEconomy(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start Scenario starts a new game based on a scenario.
|
* Start Scenario starts a new game based on a scenario.
|
||||||
|
@ -662,6 +663,7 @@ static void StartScenario(void)
|
||||||
_opt.diff_level = _opt_newgame.diff_level;
|
_opt.diff_level = _opt_newgame.diff_level;
|
||||||
|
|
||||||
// Inititalize data
|
// Inititalize data
|
||||||
|
StartupEconomy();
|
||||||
StartupPlayers();
|
StartupPlayers();
|
||||||
StartupEngines();
|
StartupEngines();
|
||||||
StartupDisasters();
|
StartupDisasters();
|
||||||
|
|
Loading…
Reference in New Issue