diff --git a/source/search.cpp b/source/search.cpp index c04003e..ff682ee 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -612,7 +612,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // PVS SEE int SEEThreshold = currMove.IsQuiet() ? seeQuietThreshold * depth : seeNoisyThreshold * depth * depth; - if (ply && depth <= 10 && !SEE(board, currMove, SEEThreshold)) + if (ply && depth <= 10 && notMated && !SEE(board, currMove, SEEThreshold)) continue;