diff --git a/src/search.c b/src/search.c index 065b5786..abe45bb6 100644 --- a/src/search.c +++ b/src/search.c @@ -408,6 +408,10 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth if (lmrDepth < 3 && ss->histScore < -1024 * depth) continue; + // Futility pruning + if (!inCheck && lmrDepth < 7 && ss->eval + 100 + 150 * depth <= alpha) + continue; + // SEE pruning if (lmrDepth < 7 && !SEE(pos, move, quiet ? -50 * depth : -85 * depth)) continue;