aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-08 23:29:35 +0000
committerFilippos Karapetis2010-06-08 23:29:35 +0000
commit81907a8e6fdefbb173d596763e5ba9d9eacd4363 (patch)
tree7f749b05b0ce731473d35f33160e8dd286422504
parentdc8b826f5ea77a0173c5ad64d6508f9ec7ed798a (diff)
downloadscummvm-rg350-81907a8e6fdefbb173d596763e5ba9d9eacd4363.tar.gz
scummvm-rg350-81907a8e6fdefbb173d596763e5ba9d9eacd4363.tar.bz2
scummvm-rg350-81907a8e6fdefbb173d596763e5ba9d9eacd4363.zip
Don't shrink the stack after reconstructing it, when loading a saved game. Fixes game restoring in some games (e.g. LSL3), a regression from commit #49376
svn-id: r49525
-rw-r--r--engines/sci/engine/savegame.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 8dedf3bae9..815ffa32a9 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -902,7 +902,6 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
#endif
s->abortScriptProcessing = kAbortLoadGame;
- s->shrinkStackToBase();
}
bool get_savegame_metadata(Common::SeekableReadStream *stream, SavegameMetadata *meta) {