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 | 46441ac31c2e305dc1b82a4a5ff3df74ffb735e5 (patch) | |
tree | 907c947338b042cfbfdb391b334b82b3544021d4 /src | |
parent | 02c46026b399dd453857fb42a38139bc95b200f9 (diff) | |
download | openttd-46441ac31c2e305dc1b82a4a5ff3df74ffb735e5.tar.xz |
(svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame
Diffstat (limited to 'src')
-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(); |