diff options
Diffstat (limited to 'engines/access/sound.cpp')
-rw-r--r-- | engines/access/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/sound.cpp b/engines/access/sound.cpp index 53b611b65b..221b409aa9 100644 --- a/engines/access/sound.cpp +++ b/engines/access/sound.cpp @@ -56,7 +56,7 @@ void SoundManager::clearSounds() { } } -void SoundManager::loadSoundTable(int idx, int fileNum, int subfile) { +void SoundManager::loadSoundTable(int idx, int fileNum, int subfile, int priority) { debugC(1, kDebugSound, "loadSoundTable(%d, %d, %d)", idx, fileNum, subfile); Resource *soundResource; @@ -67,7 +67,7 @@ void SoundManager::loadSoundTable(int idx, int fileNum, int subfile) { delete _soundTable[idx]._res; soundResource = _vm->_files->loadFile(fileNum, subfile); _soundTable[idx]._res = soundResource; - _soundTable[idx]._priority = 1; + _soundTable[idx]._priority = priority; } Resource *SoundManager::loadSound(int fileNum, int subfile) { |