[Scummvm-git-logs] scummvm master -> fec3a9b65dc4714514576f8270db6dc936ca95f6
sev-
sev at scummvm.org
Thu Oct 28 16:03:21 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:
fec3a9b65d GROOVIE: Fix warnings
Commit: fec3a9b65dc4714514576f8270db6dc936ca95f6
https://github.com/scummvm/scummvm/commit/fec3a9b65dc4714514576f8270db6dc936ca95f6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-10-28T19:02:59+03:00
Commit Message:
GROOVIE: Fix warnings
Changed paths:
engines/groovie/logic/pente.cpp
diff --git a/engines/groovie/logic/pente.cpp b/engines/groovie/logic/pente.cpp
index 70ec0901b2..79a09cfa31 100644
--- a/engines/groovie/logic/pente.cpp
+++ b/engines/groovie/logic/pente.cpp
@@ -659,7 +659,7 @@ uint PenteGame::penteSub09Ai(uint y_1, int param_2, int param_3, penteTable *tab
}
penteSub07RevertScore(table_4, _y, _x);
if (bVar1) {
- return y_1 & 0xffff0000 | (uint)(uint16)((uint16)_y + (uint16)_x * 100);
+ return (y_1 & 0xffff0000) | (uint)(uint16)((uint16)_y + (uint16)_x * 100);
}
}
_y += 1;
@@ -712,7 +712,7 @@ uint PenteGame::penteSub09Ai(uint y_1, int param_2, int param_3, penteTable *tab
} while (_x <= table_4->width && table_4->width != _x);
}
} while ((99999999 < best_score) && (depth -= 1, 1 < depth));
- return y_1 & 0xffff0000 | (uint)uVar5;
+ return (y_1 & 0xffff0000) | (uint)uVar5;
}
int varsMoveToXY(byte var0, byte var1, byte var2, byte &x, byte &y) {
More information about the Scummvm-git-logs
mailing list