]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Do less SEE pruning in qsearch
[stockfish] / src / search.cpp
index 7d618a65b56442e595fbf75dc9fc4cd9dd8ffedb..b9ca3961053d435b2207ebe30d1ae6970ecb4ac3 100644 (file)
@@ -1556,9 +1556,9 @@ moves_loop: // When in check, search starts here
           }
       }
 
-      // Do not search moves with negative SEE values (~5 Elo)
+      // Do not search moves with bad enough SEE values (~5 Elo)
       if (    bestValue > VALUE_TB_LOSS_IN_MAX_PLY
-          && !pos.see_ge(move))
+          && !pos.see_ge(move, Value(-108)))
           continue;
 
       // Speculative prefetch as early as possible