bugfix: castling rights were revoked after moving with a freshly promoted rook
This commit is contained in:
1 parent
34d689fda2
commit
9c787303f8
2 files changed
+16
-22
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user