aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAlyssa Milburn2011-03-11 14:19:15 +0100
committerAlyssa Milburn2011-03-11 14:19:57 +0100
commitf814108d850f7370151f2e7c31d5bea9b9ac4a0e (patch)
tree98414de8514f89c9b9cb0614a162576dba2c6888 /engines
parent9a4e433f88df01918c426ce92e903632730de7d9 (diff)
downloadscummvm-rg350-f814108d850f7370151f2e7c31d5bea9b9ac4a0e.tar.gz
scummvm-rg350-f814108d850f7370151f2e7c31d5bea9b9ac4a0e.tar.bz2
scummvm-rg350-f814108d850f7370151f2e7c31d5bea9b9ac4a0e.zip
MOHAWK: Fix intro finish notify in LB poetry mode.
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/livingbooks.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 20f7684521..13dc07ac3a 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -864,7 +864,6 @@ void MohawkEngine_LivingBooks::handleUIPoetryMenuClick(uint controlId) {
break;
case 7:
- case 0xA:
item = getItemById(10);
if (item)
item->destroySelf();
@@ -874,7 +873,18 @@ void MohawkEngine_LivingBooks::handleUIPoetryMenuClick(uint controlId) {
item = getItemById(12);
if (item) {
item->setVisible(true);
- item->togglePlaying(controlId == 7);
+ item->togglePlaying(true);
+ }
+ break;
+
+ case 0xA:
+ item = getItemById(10);
+ if (item)
+ item->destroySelf();
+ item = getItemById(11);
+ if (item) {
+ item->setVisible(true);
+ item->togglePlaying(true);
}
break;