aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_saveload.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-07 18:21:05 +0000
committerMatthew Hoops2010-12-07 18:21:05 +0000
commit2f86db50ef835031aa218b906d96761d4e0f8597 (patch)
tree6abeb004e6c02a22c81662d0806f737b3ebd728a /engines/mohawk/myst_saveload.cpp
parentd06a3553411c8fb1a638f573f6ceb07a940569b9 (diff)
downloadscummvm-rg350-2f86db50ef835031aa218b906d96761d4e0f8597.tar.gz
scummvm-rg350-2f86db50ef835031aa218b906d96761d4e0f8597.tar.bz2
scummvm-rg350-2f86db50ef835031aa218b906d96761d4e0f8597.zip
MOHAWK: Fix loading from the launcher in Myst
svn-id: r54813
Diffstat (limited to 'engines/mohawk/myst_saveload.cpp')
-rw-r--r--engines/mohawk/myst_saveload.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/mohawk/myst_saveload.cpp b/engines/mohawk/myst_saveload.cpp
index bc75fee2a4..04b2be93bc 100644
--- a/engines/mohawk/myst_saveload.cpp
+++ b/engines/mohawk/myst_saveload.cpp
@@ -65,9 +65,6 @@ Common::StringArray MystSaveLoad::generateSaveGameList() {
}
bool MystSaveLoad::loadGame(const Common::String &filename) {
- if (_vm->getFeatures() & GF_DEMO) // Don't load games in the demo
- return false;
-
Common::InSaveFile *loadFile = _saveFileMan->openForLoading(filename);
if (!loadFile)
return false;
@@ -90,6 +87,9 @@ bool MystSaveLoad::loadGame(const Common::String &filename) {
syncGameState(s);
delete loadFile;
+ // Switch us back to the intro stack
+ _vm->changeToStack(kIntroStack);
+
// Set our default cursor
switch (_v->globals.heldPage) {
case 2:
@@ -105,6 +105,9 @@ bool MystSaveLoad::loadGame(const Common::String &filename) {
_vm->setMainCursor(kDefaultMystCursor);
}
+ // Set us to the linking book
+ _vm->changeToCard(5, true);
+
return true;
}