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