[Scummvm-git-logs] scummvm master -> a0272473d0607ef3de95bf5b721b15873d2deafe

sev- sev at scummvm.org
Wed Oct 27 18:19:19 UTC 2021


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:
a0272473d0 GROOVIE: Fix GCC warning


Commit: a0272473d0607ef3de95bf5b721b15873d2deafe
    https://github.com/scummvm/scummvm/commit/a0272473d0607ef3de95bf5b721b15873d2deafe
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-10-27T21:19:12+03:00

Commit Message:
GROOVIE: Fix GCC warning

Changed paths:
    engines/groovie/logic/beehive.cpp


diff --git a/engines/groovie/logic/beehive.cpp b/engines/groovie/logic/beehive.cpp
index 40a8993741..2db3769b62 100644
--- a/engines/groovie/logic/beehive.cpp
+++ b/engines/groovie/logic/beehive.cpp
@@ -740,7 +740,7 @@ void BeehiveGame::testGame(Common::Array<int> moves, bool playerWin) {
 		op = 6;
 		run(vars);
 
-		if ((i + 2 == moves.size()) && (hexDifference > 2) || (hexDifference < -2) )
+		if ((i + 2 == moves.size()) && ((hexDifference > 2) || (hexDifference < -2)))
 			error("%u: early end", i);
 		else if (hexDifference > 2)
 			break;




More information about the Scummvm-git-logs mailing list