diff options
Diffstat (limited to 'src/evaluate.cpp')
| -rw-r--r-- | src/evaluate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
