aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index fe71f936b0..fbff939923 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -849,11 +849,7 @@ int Sound::isSoundRunning(int sound) const {
else if (_vm->_imuse)
return (_vm->_imuse->getSoundStatus(sound));
} else if (sound >= 10000) {
- int channel = sound - 10000;
- if (_vm->_mixer->isSoundHandleActive(_heSoundChannels[channel]))
- return _vm->_mixer->getActiveChannelSoundID(_heSoundChannels[channel]);
- else
- return 0;
+ return _vm->_mixer->getSoundID(_heSoundChannels[sound - 10000]);
}
}