aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-08-13 21:18:34 +0200
committeruruk2014-08-13 21:18:34 +0200
commite525878444e3b324a5bae42e3cc92f2921cd086f (patch)
tree6e5eaabe64dcd5cde73dfddc9b463dd396adbaba
parent12a894a803bc183e0cae52144d0b01c08a189d78 (diff)
downloadscummvm-rg350-e525878444e3b324a5bae42e3cc92f2921cd086f.tar.gz
scummvm-rg350-e525878444e3b324a5bae42e3cc92f2921cd086f.tar.bz2
scummvm-rg350-e525878444e3b324a5bae42e3cc92f2921cd086f.zip
CGE2: Silence GCC warning.
-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 {