From 13b60eeb32fa2ee42c2f38c940eb74ea8763e805 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 12 May 2008 19:29:14 +0000 Subject: Don't restart music while changing music volume in Hof and MR. svn-id: r32069 --- engines/kyra/gui_hof.cpp | 2 +- engines/kyra/gui_mr.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/kyra/gui_hof.cpp b/engines/kyra/gui_hof.cpp index d983bce0d7..10f7f657a3 100644 --- a/engines/kyra/gui_hof.cpp +++ b/engines/kyra/gui_hof.cpp @@ -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; diff --git a/engines/kyra/gui_mr.cpp b/engines/kyra/gui_mr.cpp index 0384b3c138..6822b303c3 100644 --- a/engines/kyra/gui_mr.cpp +++ b/engines/kyra/gui_mr.cpp @@ -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; -- cgit v1.2.3