aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index e6bbd889df..2335d6a324 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -815,7 +815,7 @@ int Sound::isSoundRunning(int sound) const {
if (_vm->_features & GF_HUMONGOUS) {
if (sound == -2) {
- return -1;
+ return !isSfxFinished();
} else if (sound == -1) {
// getSoundStatus(), with a -1, will return the
// ID number of the first active music it finds.
@@ -828,6 +828,8 @@ int Sound::isSoundRunning(int sound) const {
// channel = sound - 10000
if (sound == 10000)
return (_vm->_mixer->isSoundIDActive(_currentMusic) ? _currentMusic : 0);
+ else if (sound == 10001)
+ return _vm->_mixer->isSoundHandleActive(_talkChannelHandle);
else
return 0;
}