summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ad0fdf0)
We already test this condition in see_sign() and
so it is almost always a redundant verification.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
from = move_from(m);
to = move_to(m);
capturedType = type_of_piece_on(to);
from = move_from(m);
to = move_to(m);
capturedType = type_of_piece_on(to);
-
- // King cannot be recaptured
- if (capturedType == KING)
- return seeValues[capturedType];
-
occupied = occupied_squares();
// Handle en passant moves
occupied = occupied_squares();
// Handle en passant moves