aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_state.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2011-01-07 19:26:31 +0000
committerBastien Bouclet2011-01-07 19:26:31 +0000
commitb55e593cddd9b7b340c89f5521aaba4c49cc692f (patch)
treeb46ec76f9beb221eecccc9c69451a688bbd5e5e7 /engines/mohawk/myst_state.cpp
parent6b250f8c9be45a4076504263fddab77f58ee9a6a (diff)
downloadscummvm-rg350-b55e593cddd9b7b340c89f5521aaba4c49cc692f.tar.gz
scummvm-rg350-b55e593cddd9b7b340c89f5521aaba4c49cc692f.tar.bz2
scummvm-rg350-b55e593cddd9b7b340c89f5521aaba4c49cc692f.zip
MOHAWK: Merge Myst intro opcode 100 with generic opcode 40 into engine method changeStack
svn-id: r55152
Diffstat (limited to 'engines/mohawk/myst_state.cpp')
-rw-r--r--engines/mohawk/myst_state.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/mohawk/myst_state.cpp b/engines/mohawk/myst_state.cpp
index e5522ac72b..8b845b3952 100644
--- a/engines/mohawk/myst_state.cpp
+++ b/engines/mohawk/myst_state.cpp
@@ -97,9 +97,6 @@ bool MystGameState::load(const Common::String &filename) {
syncGameState(s, size == 664);
delete loadFile;
- // Switch us back to the intro stack
- _vm->changeToStack(kIntroStack);
-
// Set our default cursor
if (_globals.heldPage == 0 || _globals.heldPage > 13)
_vm->setMainCursor(kDefaultMystCursor);
@@ -110,8 +107,8 @@ bool MystGameState::load(const Common::String &filename) {
else // if (globals.heldPage == 13)
_vm->setMainCursor(kWhitePageCursor);
- // Set us to the linking book
- _vm->changeToCard(5, true);
+ // Switch us back to the intro stack, to the linking book
+ _vm->changeToStack(kIntroStack, 5, 0, 0);
return true;
}