From 5585e181233856bc47f963c1f56ff8bd7807f861 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 20 Jul 2009 22:26:41 +0000 Subject: Fix gcc warning (hopefully this is correct). svn-id: r42635 --- engines/groovie/cell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/groovie') diff --git a/engines/groovie/cell.cpp b/engines/groovie/cell.cpp index e6d8d48759..c257ac108e 100644 --- a/engines/groovie/cell.cpp +++ b/engines/groovie/cell.cpp @@ -613,7 +613,8 @@ int8 CellGame::calcBestWeight(int8 color1, int8 color2, uint16 depth, int bestWe } else { res = getBoardWeight(color1, curColor); } - if (res < bestWeight && color1 != curColor || _flag4) { + + if ((res < bestWeight && color1 != curColor) || _flag4) { popBoard(); return res; } -- cgit v1.2.3