diff --git a/src/search.cpp b/src/search.cpp index cd90bbfd..67e28d3e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1055,7 +1055,10 @@ moves_loop: // When in check, search starts here lmrDepth += history / 3576; - Value futilityValue = ss->staticEval + (bestMove ? 49 : 135) + 150 * lmrDepth; + Value futilityValue = ss->staticEval + (bestMove ? 49 : 143) + 116 * lmrDepth; + + if (bestValue < ss->staticEval - 150 && lmrDepth < 7) + futilityValue += 108; // Futility pruning: parent node if (!ss->inCheck && lmrDepth < 12 && futilityValue <= alpha)