]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
SEE: add support for enpassant moves
[stockfish] / src / search.cpp
index d89779f85bf9eb4fb3c8e8c9e3f3c96056a2dd2c..4712172d5a13bcb23d7aa08e32764e89685aad8c 100644 (file)
@@ -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;