X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=69d8decff3675d9412529bae3fe6593c28d90370;hb=f7fbc6880efae2ec9d97d6f1d65e2ad00547e32c;hp=a5b5c101e695c41abc0c9dd3b82c2a6b4860441c;hpb=25d444ed60e3873c02a70525776b145f03833103;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index a5b5c101..69d8decf 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -984,7 +984,8 @@ moves_loop: // When in check, search starts here && bestValue > VALUE_TB_LOSS_IN_MAX_PLY) { // Skip quiet moves if movecount exceeds our FutilityMoveCount threshold (~8 Elo) - moveCountPruning = moveCount >= futility_move_count(improving, depth); + if (!moveCountPruning) + moveCountPruning = moveCount >= futility_move_count(improving, depth); // Reduced depth of the next LMR search int lmrDepth = newDepth - r;