diff --git a/src/search.c b/src/search.c index 85665816..1eda8ea2 100644 --- a/src/search.c +++ b/src/search.c @@ -310,7 +310,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth if (cutnode && depth >= 7 && !ttMove) depth--; - if (ttHit && ttScore <= alpha && ttBound != BOUND_LOWER && ttDepth >= depth) + if (ttHit && depth >= 4 && ttScore <= alpha && ttBound != BOUND_LOWER && ttDepth > depth - 3) depth--; // Skip pruning in check, pv nodes, early iterations, when proving singularity, looking for terminal scores, or after a null move