]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
No DC prune in QS (#2185)
[stockfish] / src / search.cpp
index 0e10f44f3a77f70538539365f311259b2b2e9e65..50bce13c309370fa7859073be858121aa2948ff5 100644 (file)
@@ -1363,6 +1363,7 @@ moves_loop: // When in check, search starts from here
 
       // Don't search moves with negative SEE values
       if (  (!inCheck || evasionPrunable)
+          && (!givesCheck || !(pos.blockers_for_king(~pos.side_to_move()) & from_sq(move)))
           && !pos.see_ge(move))
           continue;