aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge2/toolbar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/toolbar.cpp b/engines/cge2/toolbar.cpp
index 2242cc41ff..ce951f5baa 100644
--- a/engines/cge2/toolbar.cpp
+++ b/engines/cge2/toolbar.cpp
@@ -188,7 +188,8 @@ void CGE2Engine::checkVolumeSwitches() {
if (!sfxMuted)
sfxMuted = sfxVolume == 0;
- if ((!musicMuted && !_music) || (musicVolume != _oldMusicVolume)) {
+ if ((!musicMuted && !_music) ||
+ (musicVolume != _oldMusicVolume && !musicMuted)) {
_vol[1]->step(musicVolume / kSoundNumtoStateRate);
}
if (musicMuted && _music) {