diff options
author | glx <glx@openttd.org> | 2007-12-04 22:22:50 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-12-04 22:22:50 +0000 |
commit | be48614ef8278ec41995b99b30f236ec4a82e6b4 (patch) | |
tree | 907c947338b042cfbfdb391b334b82b3544021d4 /src/openttd.cpp | |
parent | 4f0e072f3ffb478b41206a678c8f529dfb602d41 (diff) | |
download | openttd-be48614ef8278ec41995b99b30f236ec4a82e6b4.tar.xz |
(svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index ffcaeb127..1e7d03ee6 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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(); |