]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove Null Move Pruning material threshold
[stockfish] / src / search.cpp
index c48865c637210aa7c41defa21877d936884889ae..7876f9314ad93e56242c569e0f79a26e0c7a5498 100644 (file)
@@ -960,7 +960,7 @@ moves_loop: // When in check, search starts from here
       {
           if (   !captureOrPromotion
               && !givesCheck
-              && (!pos.advanced_pawn_push(move) || pos.non_pawn_material() >= Value(5000)))
+              && !pos.advanced_pawn_push(move))
           {
               // Move count based pruning (~30 Elo)
               if (moveCountPruning)