From 62e0a32a903321fd40234a245fd5b301ed50431c Mon Sep 17 00:00:00 2001 From: uruk Date: Fri, 25 Jul 2014 22:53:49 +0200 Subject: CGE2: Repair checkVolumeSwitches(). --- engines/cge2/toolbar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3