X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=4747beb2e94b503f3df11d55fee058dae989757b;hp=3b3c0f2aeb0deb9f84b19782468669054c943970;hb=8c3d9d996af7aa34f019785818eecbeb9338b95f;hpb=383b12e1a5cc03a122e9a071eebde87eac85b116 diff --git a/src/search.cpp b/src/search.cpp index 3b3c0f2a..4747beb2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1055,6 +1055,7 @@ moves_loop: // When in check, search starts from here // Futility pruning for captures if ( !givesCheck && lmrDepth < 6 + && !(PvNode && abs(bestValue) < 2) && !ss->inCheck && ss->staticEval + 270 + 384 * lmrDepth + PieceValue[MG][type_of(pos.piece_on(to_sq(move)))] <= alpha) continue;