mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame
This commit is contained in:
parent
02c46026b3
commit
46441ac31c
|
@ -902,6 +902,7 @@ void SwitchMode(int new_mode)
|
|||
case SM_LOAD: { /* Load game, Play Scenario */
|
||||
_opt_ptr = &_opt;
|
||||
ResetGRFConfig(true);
|
||||
ResetWindowSystem();
|
||||
|
||||
if (!SafeSaveOrLoad(_file_to_saveload.name, _file_to_saveload.mode, GM_NORMAL, NO_DIRECTORY)) {
|
||||
LoadIntroGame();
|
||||
|
|
Loading…
Reference in New Issue