aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge2/cge2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp
index 0a3d65a31d..8b51dda75e 100644
--- a/engines/cge2/cge2.cpp
+++ b/engines/cge2/cge2.cpp
@@ -99,7 +99,8 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription)
_sayCap = ConfMan.getBool("subtitles");
_sayVox = !ConfMan.getBool("speech_mute");
- if (_muteAll = ConfMan.getBool("mute")) {
+ _muteAll = ConfMan.getBool("mute");
+ if (_muteAll) {
_oldMusicVolume = _oldSfxVolume = 0;
_music = _sayVox = false;
} else {