[Scummvm-cvs-logs] scummvm master -> f814108d850f7370151f2e7c31d5bea9b9ac4a0e
fuzzie
fuzzie at fuzzie.org
Fri Mar 11 14:20:58 CET 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:
f814108d85 MOHAWK: Fix intro finish notify in LB poetry mode.
Commit: f814108d850f7370151f2e7c31d5bea9b9ac4a0e
https://github.com/scummvm/scummvm/commit/f814108d850f7370151f2e7c31d5bea9b9ac4a0e
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2011-03-11T05:19:57-08:00
Commit Message:
MOHAWK: Fix intro finish notify in LB poetry mode.
Changed paths:
engines/mohawk/livingbooks.cpp
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 20f7684..13dc07a 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;
More information about the Scummvm-git-logs
mailing list