]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Search simplification
[stockfish] / src / search.cpp
index d854cd95d1d5dc75b13b698b0f95cf0de7485191..99d1cb0ebcc5e3388bc42bdb4370e163f6bde52f 100644 (file)
@@ -1554,7 +1554,6 @@ moves_loop: // When in check, search starts from here
 
       // Do not search moves with negative SEE values
       if (    bestValue > VALUE_TB_LOSS_IN_MAX_PLY
-          && !(givesCheck && pos.is_discovery_check_on_king(~pos.side_to_move(), move))
           && !pos.see_ge(move))
           continue;