X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=744d84f442e682808839cf5b1195b1555f821e2b;hp=c574058df4be545a297dc83f74da0c43203c4ecb;hb=2d60995c004e4ddf010373ba84a766d2cbaf082e;hpb=0454bbc54f35cc500858cfcb61723ac256ea320c diff --git a/src/search.cpp b/src/search.cpp index c574058d..744d84f4 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -602,11 +602,6 @@ namespace { ss->staticEval, ss->evalMargin); } - // Handling of UCI command 'mate in x moves'. We simply return if after - // 'x' moves we still have not checkmated the opponent. - if (PvNode && !RootNode && !inCheck && Limits.mate && ss->ply > 2 * Limits.mate) - return eval; - // Update gain for the parent non-capture move given the static position // evaluation before and after the move. if ( (move = (ss-1)->currentMove) != MOVE_NULL