]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Relax constrain in connected_moves()
[stockfish] / src / search.cpp
index 978a5993b584147ed0be06d5a2e8091b77a5da52..afdd204964b3272ba32f8b1653caa3c0c1bf93cc 100644 (file)
@@ -1378,7 +1378,7 @@ split_point_start: // At split points actual search starts from here
         return true;
 
     // Moving through the vacated square
-    if (piece_is_slider(pos.piece_on(f2)) && (between_bb(f2, t2) & f1))
+    if (between_bb(f2, t2) & f1)
       return true;
 
     // The destination square for m2 is defended by the moving piece in m1