From e525878444e3b324a5bae42e3cc92f2921cd086f Mon Sep 17 00:00:00 2001 From: uruk Date: Wed, 13 Aug 2014 21:18:34 +0200 Subject: CGE2: Silence GCC warning. --- engines/cge2/cge2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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 { -- cgit v1.2.3