mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Don't restart music while changing music volume in Hof and MR.
svn-id: r32069
This commit is contained in:
@@ -1129,7 +1129,7 @@ int GUI_HoF::sliderHandler(Button *caller) {
|
||||
if (playSoundEffect)
|
||||
_vm->snd_playSoundEffect(0x18);
|
||||
else if (lastMusicCommand >= 0)
|
||||
_vm->snd_playWanderScoreViaMap(lastMusicCommand, 1);
|
||||
_vm->snd_playWanderScoreViaMap(lastMusicCommand, 0);
|
||||
|
||||
_screen->updateScreen();
|
||||
return 0;
|
||||
|
||||
@@ -1673,7 +1673,7 @@ int GUI_MR::sliderHandler(Button *caller) {
|
||||
if (playSoundEffect)
|
||||
_vm->snd_playSoundEffect(0x18, 0xC8);
|
||||
else if (lastMusicCommand >= 0)
|
||||
_vm->snd_playWanderScoreViaMap(lastMusicCommand, 1);
|
||||
_vm->snd_playWanderScoreViaMap(lastMusicCommand, 0);
|
||||
|
||||
_screen->updateScreen();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user