[Scummvm-cvs-logs] SF.net SVN: scummvm:[42635] scummvm/trunk/engines/groovie/cell.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Jul 21 00:26:41 CEST 2009


Revision: 42635
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42635&view=rev
Author:   lordhoto
Date:     2009-07-20 22:26:41 +0000 (Mon, 20 Jul 2009)

Log Message:
-----------
Fix gcc warning (hopefully this is correct).

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/cell.cpp

Modified: scummvm/trunk/engines/groovie/cell.cpp
===================================================================
--- scummvm/trunk/engines/groovie/cell.cpp	2009-07-20 22:15:37 UTC (rev 42634)
+++ scummvm/trunk/engines/groovie/cell.cpp	2009-07-20 22:26:41 UTC (rev 42635)
@@ -613,7 +613,8 @@
 	} else {
 		res = getBoardWeight(color1, curColor);
 	}
-	if (res < bestWeight && color1 != curColor || _flag4) {
+
+	if ((res < bestWeight && color1 != curColor) || _flag4) {
 		popBoard();
 		return res;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list