diff options
author | Filippos Karapetis | 2010-06-15 09:11:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-15 09:11:26 +0000 |
commit | e64eb71ce86663c479bbbb94072fee94a015eecb (patch) | |
tree | 27c06cb158d8ebced0d8cd39d15b46d3a06dd8a6 /engines/sci/engine/savegame.cpp | |
parent | ba3c43498b12b4c5855030bea7ab9e613c55d4ac (diff) | |
download | scummvm-rg350-e64eb71ce86663c479bbbb94072fee94a015eecb.tar.gz scummvm-rg350-e64eb71ce86663c479bbbb94072fee94a015eecb.tar.bz2 scummvm-rg350-e64eb71ce86663c479bbbb94072fee94a015eecb.zip |
Properly reconstruct the running stack when restoring (a regression from commits #49376 and #49525), some formatting
svn-id: r49689
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-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 d2bd955793..02fdde5622 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -994,6 +994,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { #endif s->abortScriptProcessing = kAbortLoadGame; + s->shrinkStackToBase(); } bool get_savegame_metadata(Common::SeekableReadStream *stream, SavegameMetadata *meta) { |