mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
SEE: add support for enpassant moves
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-1
@@ -2284,7 +2284,8 @@ namespace {
|
||||
if ( !PruneBlockingMoves
|
||||
&& threat != MOVE_NONE
|
||||
&& piece_is_slider(pos.piece_on(tfrom))
|
||||
&& bit_is_set(squares_between(tfrom, tto), mto) && pos.see(m) >= 0)
|
||||
&& bit_is_set(squares_between(tfrom, tto), mto)
|
||||
&& pos.see(m) >= 0)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user