aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cge2/toolbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge2/toolbar.cpp b/engines/cge2/toolbar.cpp
index d8687e3944..2242cc41ff 100644
--- a/engines/cge2/toolbar.cpp
+++ b/engines/cge2/toolbar.cpp
@@ -73,11 +73,11 @@ void CGE2Engine::optionTouch(int opt, uint16 mask) {
quit();
break;
case 4:
- if (mask & (kMouseLeftUp | kMouseRightUp))
+ if ((mask & (kMouseLeftUp | kMouseRightUp)) && !ConfMan.getBool("mute"))
setVolume(opt - 4, (mask & kMouseLeftUp) ? 1 : -1);
break;
case 5:
- if (mask & (kMouseLeftUp | kMouseRightUp))
+ if ((mask & (kMouseLeftUp | kMouseRightUp)) && !ConfMan.getBool("mute"))
setVolume(opt - 4, (mask & kMouseLeftUp) ? 1 : -1);
break;
case 8: