diff --git a/source/search.cpp b/source/search.cpp index 02d709a..05d3f2c 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -516,7 +516,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC } const int probcutBeta = beta + probcutBetaMargin; - const int probcutDepth = std::max(depth - 3, 1); + const int probcutDepth = std::max(depth - 3 - improving, 1); if (depth >= 7 && std::abs(beta) < MATE_SCORE - MAX_DEPTH && (!entry.bestMove || !entry.bestMove.IsQuiet())