diff options
Diffstat (limited to 'engines/sci/sfx/soundcmd.cpp')
-rw-r--r-- | engines/sci/sfx/soundcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp index ca3c3675a4..fe1d281aaa 100644 --- a/engines/sci/sfx/soundcmd.cpp +++ b/engines/sci/sfx/soundcmd.cpp @@ -647,7 +647,7 @@ void SoundCommandParser::cmdUpdateHandle(reg_t obj, int16 value) { uint32 objVol = CLIP<int>(GET_SEL32V(_segMan, obj, vol), 0, 255); if (objVol != musicSlot->volume) _music->soundSetVolume(musicSlot, objVol); - uint32 objPrio = GET_SEL32V(_segMan, obj, vol); + uint32 objPrio = GET_SEL32V(_segMan, obj, pri); if (objPrio != musicSlot->prio) _music->soundSetPriority(musicSlot, objPrio); |