aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-12-14 04:07:22 +0000
committerTravis Howell2003-12-14 04:07:22 +0000
commit97f1b78905d10498770b49d29c8a4504ac0508c9 (patch)
tree159265dd071050a4828c1fe322e2cad0e66e2484
parent6f2217dcb2e8e51f32f56dcf2cb8444d16634638 (diff)
downloadscummvm-rg350-97f1b78905d10498770b49d29c8a4504ac0508c9.tar.gz
scummvm-rg350-97f1b78905d10498770b49d29c8a4504ac0508c9.tar.bz2
scummvm-rg350-97f1b78905d10498770b49d29c8a4504ac0508c9.zip
Make music_mute take effect.
svn-id: r11624
-rw-r--r--queen/sound.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp
index 113627b6a2..9c398d2ba6 100644
--- a/queen/sound.cpp
+++ b/queen/sound.cpp
@@ -149,6 +149,9 @@ void Sound::playSong(int16 songNum) {
return;
}
+ if (!musicOn())
+ return;
+
//TODO: Record onto song stack for saving/loading
switch (_tune[newTune - 1].mode) {