aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAlyssa Milburn2011-04-02 19:14:39 +0200
committerAlyssa Milburn2011-04-02 19:21:03 +0200
commit71bfe714c184169723ad47eb64e47b4f3f44c2d6 (patch)
treeb5915e0ded92e10ec2d34739fb13074c89d93943 /engines
parentfdb01b0ea9f9e13572d113bd48cf8f6aaccf52b6 (diff)
downloadscummvm-rg350-71bfe714c184169723ad47eb64e47b4f3f44c2d6.tar.gz
scummvm-rg350-71bfe714c184169723ad47eb64e47b4f3f44c2d6.tar.bz2
scummvm-rg350-71bfe714c184169723ad47eb64e47b4f3f44c2d6.zip
MOHAWK: Fix issues with LB's hardcoded UI logic.
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/livingbooks.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index e57067f56a..522d437889 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -871,7 +871,7 @@ void MohawkEngine_LivingBooks::handleUIMenuClick(uint controlId) {
item = getItemById(199 + _curLanguage);
if (item) {
item->setVisible(true);
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
}
break;
@@ -885,7 +885,7 @@ void MohawkEngine_LivingBooks::handleUIMenuClick(uint controlId) {
item = getItemById(12);
if (item) {
item->setVisible(true);
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
}
break;
@@ -904,16 +904,16 @@ void MohawkEngine_LivingBooks::handleUIMenuClick(uint controlId) {
if (item)
item->destroySelf();
item = getItemById(11);
- if (item)
+ if (item) {
item->setVisible(true);
- if (item)
item->togglePlaying(false);
+ }
break;
case 11:
item = getItemById(11);
if (item)
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
break;
case 12:
@@ -972,7 +972,7 @@ void MohawkEngine_LivingBooks::handleUIPoetryMenuClick(uint controlId) {
item = getItemById(12);
if (item) {
item->setVisible(true);
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
}
break;
@@ -983,14 +983,14 @@ void MohawkEngine_LivingBooks::handleUIPoetryMenuClick(uint controlId) {
item = getItemById(11);
if (item) {
item->setVisible(true);
- item->togglePlaying(true);
+ item->togglePlaying(false);
}
break;
case 0xB:
- item = getItemById(12);
+ item = getItemById(11);
if (item)
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
break;
case 0xC:
@@ -1032,7 +1032,7 @@ void MohawkEngine_LivingBooks::handleUIQuitClick(uint controlId) {
case 11:
item = getItemById(11);
if (item)
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
break;
case 12:
@@ -1059,7 +1059,7 @@ void MohawkEngine_LivingBooks::handleUIOptionsClick(uint controlId) {
item = getItemById(202);
if (item) {
item->setVisible(true);
- item->togglePlaying(true);
+ item->togglePlaying(false, true);
}
break;