diff options
author | Martin Kiewitz | 2010-01-08 11:17:29 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-08 11:17:29 +0000 |
commit | cd654b9616d1b44c24f276f4d53a322c6afbb5c6 (patch) | |
tree | 665b695ad4265cf8b1e6fc0ec00ef648cdc49903 /engines/sci | |
parent | 5f5225ea385b16b99d136fb34f09a0cdc16ba051 (diff) | |
download | scummvm-rg350-cd654b9616d1b44c24f276f4d53a322c6afbb5c6.tar.gz scummvm-rg350-cd654b9616d1b44c24f276f4d53a322c6afbb5c6.tar.bz2 scummvm-rg350-cd654b9616d1b44c24f276f4d53a322c6afbb5c6.zip |
SCI: call gui-init right after loading a saved game, fixes weird gui issue that occurs only when loading a save through ctrl-f5 menu "too early" in the game (where you couldnt load through original interpreter)
svn-id: r47151
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index fcdfe8f7e6..ff80325049 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -916,6 +916,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { retval->_msgState = new MessageState(retval->_segMan); retval->_gui->resetEngineState(retval); + retval->_gui->init(retval->usesOldGfxFunctions()); return retval; } |