diff --git a/src/search.c b/src/search.c index 23a557b0..d3864b3c 100644 --- a/src/search.c +++ b/src/search.c @@ -314,6 +314,9 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth if (inCheck || pvNode || !thread->doPruning || ss->excluded || abs(beta) >= TBWIN_IN_MAX || history(-1).move == NOMOVE) goto move_loop; + if (ttHit && ttScore <= alpha && ttBound != BOUND_LOWER && ttDepth >= depth) + depth--; + // Reverse Futility Pruning if ( depth < 7 && eval >= beta