diff --git a/src/search.cpp b/src/search.cpp index 3fbbbc54..b689f582 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1113,6 +1113,10 @@ Value Search::Worker::search( (ss + 1)->pv = pv; (ss + 1)->pv[0] = Move::none(); + // Extend move from transposition table if we are about to dive into qsearch. + if (move == ttData.move && ss->ply <= thisThread->rootDepth * 2) + newDepth = std::max(newDepth, 1); + value = -search(pos, ss + 1, -beta, -alpha, newDepth, false); }