diff options
author | Matthew Hoops | 2010-12-11 16:55:25 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-11 16:55:25 +0000 |
commit | 43aa47dd311da8afe47cbf1e1964dedf98506584 (patch) | |
tree | dcd9de4b8461634aa76657637022bd3a2f296d8d | |
parent | adc7dc0785087d4dd4c59fd418f499e5cc7572ce (diff) | |
download | scummvm-rg350-43aa47dd311da8afe47cbf1e1964dedf98506584.tar.gz scummvm-rg350-43aa47dd311da8afe47cbf1e1964dedf98506584.tar.bz2 scummvm-rg350-43aa47dd311da8afe47cbf1e1964dedf98506584.zip |
MOHAWK: Fix loading with non-Selenitic red/blue pages in hand
svn-id: r54865
-rw-r--r-- | engines/mohawk/myst_saveload.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/engines/mohawk/myst_saveload.cpp b/engines/mohawk/myst_saveload.cpp index d574055ba1..a88c1fc763 100644 --- a/engines/mohawk/myst_saveload.cpp +++ b/engines/mohawk/myst_saveload.cpp @@ -88,19 +88,14 @@ bool MystSaveLoad::loadGame(const Common::String &filename) { _vm->changeToStack(kIntroStack); // Set our default cursor - switch (_v->globals.heldPage) { - case 2: + if (_v->globals.heldPage == 0 || _v->globals.heldPage > 13) + _vm->setMainCursor(kDefaultMystCursor); + else if (_v->globals.heldPage < 7) _vm->setMainCursor(kBluePageCursor); - break; - case 8: + else if (_v->globals.heldPage < 13) _vm->setMainCursor(kRedPageCursor); - break; - case 12: + else // if (_v->globals.heldPage == 13) _vm->setMainCursor(kWhitePageCursor); - break; - default: - _vm->setMainCursor(kDefaultMystCursor); - } // Set us to the linking book _vm->changeToCard(5, true); |