]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
QS Pruning Simplification
[stockfish] / src / search.cpp
index a2342a3cf4f90d50eeccce10a8d25a6afceef3e2..b319dff5fe27ed54f98a28171a648479b975d872 100644 (file)
@@ -1585,7 +1585,7 @@ moves_loop: // When in check, search starts from here
                                                                 [to_sq(move)];
 
       if (  !captureOrPromotion
-          && moveCount >= abs(depth) + 1
+          && moveCount
           && (*contHist[0])[pos.moved_piece(move)][to_sq(move)] < CounterMovePruneThreshold
           && (*contHist[1])[pos.moved_piece(move)][to_sq(move)] < CounterMovePruneThreshold)
           continue;