aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 2c35a64d03..76139b2eaa 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -88,8 +88,8 @@ Sound::~Sound() {
void Sound::addSoundToQueue(int sound, int offset) {
_vm->VAR(_vm->VAR_LAST_SOUND) = sound;
- // Music resources are in separate file
- if (!((_vm->_heversion >= 70) && sound >= 4000))
+ // HE music resources are in separate file
+ if (sound <= _vm->_numSounds)
_vm->ensureResourceLoaded(rtSound, sound);
addSoundToQueue2(sound, offset);
}