[Scummvm-cvs-logs] scummvm master -> e525878444e3b324a5bae42e3cc92f2921cd086f

urukgit urukgit at users.noreply.github.com
Wed Aug 13 21:26:17 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e525878444 CGE2: Silence GCC warning.


Commit: e525878444e3b324a5bae42e3cc92f2921cd086f
    https://github.com/scummvm/scummvm/commit/e525878444e3b324a5bae42e3cc92f2921cd086f
Author: uruk (koppirnyo at gmail.com)
Date: 2014-08-13T21:18:34+02:00

Commit Message:
CGE2: Silence GCC warning.

Changed paths:
    engines/cge2/cge2.cpp



diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp
index 0a3d65a..8b51dda 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 {






More information about the Scummvm-git-logs mailing list