aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorAlyssa Milburn2011-03-31 22:35:40 +0200
committerAlyssa Milburn2011-03-31 22:35:40 +0200
commit66269fa2088a4f47f70b15e6c3c57006353b05d4 (patch)
tree5068c1d4a6d8f90c61edbf25d8cca25c77fe917f /engines/mohawk
parent84c45eae37542685bedfe8163fd62d4fa3ee38cf (diff)
downloadscummvm-rg350-66269fa2088a4f47f70b15e6c3c57006353b05d4.tar.gz
scummvm-rg350-66269fa2088a4f47f70b15e6c3c57006353b05d4.tar.bz2
scummvm-rg350-66269fa2088a4f47f70b15e6c3c57006353b05d4.zip
MOHAWK: Toggle the post-intro LB menu anim at the right time.
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/livingbooks.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 553940dfda..6534f79ebc 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -398,10 +398,6 @@ void MohawkEngine_LivingBooks::updatePage() {
// hard-coded control page startup
LBItem *item;
- item = getItemById(10);
- if (item)
- item->togglePlaying(false);
-
uint16 page = _curPage;
if (getFeatures() & GF_LB_10) {
// Living Books 1.0 had the meanings of these pages reversed
@@ -493,6 +489,12 @@ void MohawkEngine_LivingBooks::updatePage() {
for (uint32 i = 0; i < _items.size(); i++)
_items[i]->startPhase(_phase);
+ if (_curMode == kLBControlMode) {
+ LBItem *item = getItemById(10);
+ if (item)
+ item->togglePlaying(false);
+ }
+
_phase++;
break;