X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=529a6ffe2876a5345edf6763de9cc232adf6a2d8;hp=f58baf39661190053d1dc64d01090fbacff1ad56;hb=75221fcf5e05c148d1023ea45f40794d9462774a;hpb=a95cbca568ec393ea6b4b17ed86f89c75d7cbe57 diff --git a/src/search.cpp b/src/search.cpp index f58baf39..529a6ffe 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1129,7 +1129,7 @@ split_point_start: // At split points actual search starts from here ss->ply = (ss-1)->ply + 1; // Check for an instant draw or maximum ply reached - if (pos.is_draw() || ss->ply > MAX_PLY) + if (pos.is_draw() || ss->ply > MAX_PLY) return DrawValue[pos.side_to_move()]; // Decide whether or not to include checks, this fixes also the type of