diff --git a/src/search.cpp b/src/search.cpp index bacd63c95..440cdc8e3 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1074,10 +1074,8 @@ moves_loop: // When in check, search starts here lmrDepth += history / 3593; - Value futilityValue = ss->staticEval + (bestMove ? 48 : 146) + 116 * lmrDepth; - - if (bestValue < ss->staticEval - 128 && lmrDepth < 8) - futilityValue += 103; + Value futilityValue = ss->staticEval + (bestMove ? 48 : 146) + 116 * lmrDepth + + 103 * (bestValue < ss->staticEval - 128); // Futility pruning: parent node // (*Scaler): Generally, more frequent futility pruning