diff options
author | Alyssa Milburn | 2011-03-11 14:19:15 +0100 |
---|---|---|
committer | Alyssa Milburn | 2011-03-11 14:19:57 +0100 |
commit | f814108d850f7370151f2e7c31d5bea9b9ac4a0e (patch) | |
tree | 98414de8514f89c9b9cb0614a162576dba2c6888 | |
parent | 9a4e433f88df01918c426ce92e903632730de7d9 (diff) | |
download | scummvm-rg350-f814108d850f7370151f2e7c31d5bea9b9ac4a0e.tar.gz scummvm-rg350-f814108d850f7370151f2e7c31d5bea9b9ac4a0e.tar.bz2 scummvm-rg350-f814108d850f7370151f2e7c31d5bea9b9ac4a0e.zip |
MOHAWK: Fix intro finish notify in LB poetry mode.
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 14 |
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; |