mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 04:35:16 +00:00
Should use _numSounds too.
svn-id: r14886
This commit is contained in:
parent
868ec03962
commit
ae4105de50
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user