aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
authorMartin Kiewitz2016-03-02 19:34:40 +0100
committerMartin Kiewitz2016-03-02 19:34:40 +0100
commit858859294733f080ea2902469dfd392635464a21 (patch)
treeac477dbf5ac91c3fc66fc30680b7b8e64634d84a /engines/sci/engine/state.h
parent7ee2af41984500ac580a904a15be498e625cf5c3 (diff)
downloadscummvm-rg350-858859294733f080ea2902469dfd392635464a21.tar.gz
scummvm-rg350-858859294733f080ea2902469dfd392635464a21.tar.bz2
scummvm-rg350-858859294733f080ea2902469dfd392635464a21.zip
SCI32: Don't do a syncWithScripts on restore from launcher
Causes issues in at least gk1 (option + inventory plane are shown) Game::restore is not called, when doing restores from launcher, so in the original interpreter this script code wasn't called either. Fixes option + inventory planes etc. being shown right after restoring via launcher, when original save/load dialogs were disabled.
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r--engines/sci/engine/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h
index 0f04e32fe5..6efc56e40f 100644
--- a/engines/sci/engine/state.h
+++ b/engines/sci/engine/state.h
@@ -138,6 +138,7 @@ public:
// see detection.cpp / SciEngine::loadGameState()
bool _delayedRestoreGame; // boolean, that triggers delayed restore (triggered by ScummVM menu)
int _delayedRestoreGameId; // the saved game id, that it supposed to get restored (triggered by ScummVM menu)
+ bool _delayedRestoreFromLauncher; // is set, when the the delayed restore game was triggered from launcher
uint _chosenQfGImportItem; // Remembers the item selected in QfG import rooms