aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-12 19:29:14 +0000
committerJohannes Schickel2008-05-12 19:29:14 +0000
commit13b60eeb32fa2ee42c2f38c940eb74ea8763e805 (patch)
tree23e2e647b5cbee36404c44dfdf39774d178e68d7
parent31a8d984a4b9ce4fc7906166fa8cbe91d52ee7b2 (diff)
downloadscummvm-rg350-13b60eeb32fa2ee42c2f38c940eb74ea8763e805.tar.gz
scummvm-rg350-13b60eeb32fa2ee42c2f38c940eb74ea8763e805.tar.bz2
scummvm-rg350-13b60eeb32fa2ee42c2f38c940eb74ea8763e805.zip
Don't restart music while changing music volume in Hof and MR.
svn-id: r32069
-rw-r--r--engines/kyra/gui_hof.cpp2
-rw-r--r--engines/kyra/gui_mr.cpp2
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;