X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=8f85e124aa8617b5b05de8903eb343598ee3aad3;hp=7ffdadcf9c96d8e82e4665fb02b2fa8232f23fa6;hb=25c22ffe7ad94f76e4330626adb50304b8392d66;hpb=ae6157fcf33f840361acb24f98ea37299b3eaa36 diff --git a/src/search.cpp b/src/search.cpp index 7ffdadcf..8f85e124 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1180,7 +1180,7 @@ namespace { if (abs(ttValue) < VALUE_KNOWN_WIN) { - Value excValue = search(pos, ss, ttValue - SingleReplyMargin, depth / 2, ply, false, threadID, ttMove); + Value excValue = search(pos, ss, ttValue - SingleReplyMargin, depth / 2, ply, false, threadID, move); // If search result is well below the foreseen score of the ttMove then we // assume ttMove is the only one realistically playable and we extend it. @@ -1485,7 +1485,7 @@ namespace { if (abs(ttValue) < VALUE_KNOWN_WIN) { - Value excValue = search(pos, ss, ttValue - SingleReplyMargin, depth / 2, ply, false, threadID, ttMove); + Value excValue = search(pos, ss, ttValue - SingleReplyMargin, depth / 2, ply, false, threadID, move); // If search result is well below the foreseen score of the ttMove then we // assume ttMove is the only one realistically playable and we extend it.