diff --git a/src/search.cpp b/src/search.cpp index 24ba1c018..c517fd496 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1040,8 +1040,9 @@ moves_loop: // When in check, search starts here // Futility pruning for captures if (!givesCheck && lmrDepth < 7 && !ss->inCheck) { - Value futilityValue = ss->staticEval + 222 + 216 * lmrDepth - + PieceValue[capturedPiece] + 131 * captHist / 1024; + Value futilityValue = ss->staticEval + 225 + 220 * lmrDepth + + 275 * (move.to_sq() == prevSq) + PieceValue[capturedPiece] + + 131 * captHist / 1024; if (futilityValue <= alpha) continue; }