From 43aa47dd311da8afe47cbf1e1964dedf98506584 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sat, 11 Dec 2010 16:55:25 +0000 Subject: MOHAWK: Fix loading with non-Selenitic red/blue pages in hand svn-id: r54865 --- engines/mohawk/myst_saveload.cpp | 15 +++++---------- 1 file 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); -- cgit v1.2.3