bugfix: castling rights were revoked after moving with a freshly promoted rook

This commit is contained in:
rektdie committed 2024-04-16 15:54:36 +02:00
1 parent 34d689fda2
commit 9c787303f8
2 files changed
+16 -22

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ int main() {
Board board;
board.SetByFen("r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1");
Perft(board, 5);
Perft(board, 6);
return 0;
}