diff --git a/AUTHORS b/AUTHORS index 6bf0745ad..e606e5a8d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -233,6 +233,7 @@ Stefano Di Martino (StefanoD) Steinar Gunderson (sesse) Stéphane Nicolet (snicolet) Stephen Touset (stouset) +Stockfisher69 Styx (styxdoto) Syine Mineta (MinetaS) Taras Vuk (TarasVuk) diff --git a/src/search.cpp b/src/search.cpp index 39d9862be..b807ae7d1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1039,9 +1039,10 @@ moves_loop: // When in check, search starts here // Futility pruning for captures if (!givesCheck && lmrDepth < 7 && !ss->inCheck) { - Value futilityValue = ss->staticEval + 225 + 220 * lmrDepth - + 275 * (move.to_sq() == prevSq) + PieceValue[capturedPiece] - + 131 * captHist / 1024; + + Value futilityValue = ss->staticEval + 232 + 224 * lmrDepth + + PieceValue[capturedPiece] + 131 * captHist / 1024; + if (futilityValue <= alpha) continue; }