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, 3 insertions, 3 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index b79ae052e7..77c595a42e 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -773,15 +773,15 @@ int Sound::isSoundRunning(int sound) const {
}
}
+ if (_vm->_mixer->isSoundIDActive(sound))
+ return 1;
+
if (isSoundInQueue(sound))
return 1;
if (!_vm->isResourceLoaded(rtSound, sound))
return 0;
- if (_vm->_mixer->isSoundIDActive(sound))
- return 1;
-
if (_vm->_musicEngine)
return _vm->_musicEngine->getSoundStatus(sound);