bugfix: didnt increment halfmoves | bench 902872

This commit is contained in:
rektdie committed 2025-03-25 22:46:06 +01:00
1 parent eb2cc35239
commit 05a94a59d3
1 file changed
+2
+2
View File
@@ -353,6 +353,8 @@ bool Board::MakeMove(Move move) {
if (attackerColor == Black) fullMoves++;
if (attackerPiece == Pawn || move.IsCapture()) {
halfMoves = 0;
} else {
halfMoves++;
}
positionIndex++;