[Scummvm-cvs-logs] scummvm master -> 71bfe714c184169723ad47eb64e47b4f3f44c2d6
fuzzie
fuzzie at fuzzie.org
Sat Apr 2 19:22:26 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
71bfe714c1 MOHAWK: Fix issues with LB's hardcoded UI logic.
Commit: 71bfe714c184169723ad47eb64e47b4f3f44c2d6
https://github.com/scummvm/scummvm/commit/71bfe714c184169723ad47eb64e47b4f3f44c2d6
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2011-04-02T10:21:03-07:00
Commit Message:
MOHAWK: Fix issues with LB's hardcoded UI logic.
Changed paths:
engines/mohawk/livingbooks.cpp
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index e57067f..522d437 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;
More information about the Scummvm-git-logs
mailing list