diff options
author | Alyssa Milburn | 2010-12-04 23:48:14 +0000 |
---|---|---|
committer | Alyssa Milburn | 2010-12-04 23:48:14 +0000 |
commit | e37257fe39e8c5c7f9004f793d73f6684b8eb743 (patch) | |
tree | 8be8d2115da2c93484965482b5396567e92a1bb5 /engines | |
parent | 5928532f0baeb773f330242daebe220f5c4111e8 (diff) | |
download | scummvm-rg350-e37257fe39e8c5c7f9004f793d73f6684b8eb743.tar.gz scummvm-rg350-e37257fe39e8c5c7f9004f793d73f6684b8eb743.tar.bz2 scummvm-rg350-e37257fe39e8c5c7f9004f793d73f6684b8eb743.zip |
MOHAWK: fix LB menu mode with subpages
svn-id: r54770
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index fff3dc8647..96dd63dcb0 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -156,7 +156,8 @@ Common::Error MohawkEngine_LivingBooks::run() { case Common::KEYCODE_ESCAPE: if (_curMode == kLBIntroMode) - loadPage(kLBControlMode, 1, 0); + if (!loadPage(kLBControlMode, 1, 1)) + loadPage(kLBControlMode, 1, 0); break; case Common::KEYCODE_LEFT: @@ -652,6 +653,8 @@ bool MohawkEngine_LivingBooks::tryDefaultPage() { } } else { // go to menu page + if (loadPage(kLBControlMode, 1, 1)) + return true; if (loadPage(kLBControlMode, 1, 0)) return true; } |