summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-12-04 22:22:50 +0000
committerglx <glx@openttd.org>2007-12-04 22:22:50 +0000
commitbe48614ef8278ec41995b99b30f236ec4a82e6b4 (patch)
tree907c947338b042cfbfdb391b334b82b3544021d4 /src
parent4f0e072f3ffb478b41206a678c8f529dfb602d41 (diff)
downloadopenttd-be48614ef8278ec41995b99b30f236ec4a82e6b4.tar.xz
(svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp1
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();