Please sign in to comment.
Fix in ok_to_history(): castle move is not a capture
It is erroneusly considered a capture because king moves on the same square of the rook. Use the correct function Position::move_is_capture() instead of the open coded (and buggy) one. Signed-off-by: Marco Costalba <firstname.lastname@example.org>
- Loading branch information...