diff --git a/source/search.cpp b/source/search.cpp index d42d59c..20949d0 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -643,7 +643,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC int reductions = GetReductions(board, currMove, depth, moveSeen, ply, cutnode, improving, corrplexity, ctx); - int newDepth = depth + copy.InCheck() - 1 + extension; + int newDepth = depth + (copy.InCheck() && !ctx->excluded) - 1 + extension; U64 nodesBeforeSearch = ctx->nodes;