aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/he/sound_he.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp
index af17ed6ac0..9519087efe 100644
--- a/engines/scumm/he/sound_he.cpp
+++ b/engines/scumm/he/sound_he.cpp
@@ -123,7 +123,16 @@ int SoundHE::isSoundRunning(int sound) const {
}
}
- return Sound::isSoundRunning(sound);
+ if (_vm->_mixer->isSoundIDActive(sound))
+ return sound;
+
+ if (isSoundInQueue(sound))
+ return sound;
+
+ if (_vm->_musicEngine &&_vm->_musicEngine->getSoundStatus(sound))
+ return sound;
+
+ return 0;
}
void SoundHE::stopSound(int sound) {