From 27e879c62ecc019591201b1b1068b0c41870cfab Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 3 Aug 2026 21:56:36 +0200 Subject: a big hell of a commit --- src/evaluate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/evaluate.cpp') diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 25c2117..f08080d 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -88,7 +88,7 @@ int EvaluateBoard(Game *g) { * this function just takes square and if color is black rotate it */ static int RotateBoardForBlack(const int square, const bool color) { - return color ? square : (56 ^ square); + return !color ? square : (56 ^ square); } static int ForceKingToEdgeBonus(const Position enemyKing, -- cgit v1.2.3