]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Make sure we make a move at the end of the search when reaching
[stockfish] / src / search.cpp
index 0c6cf8becbea5abd01e4918d2d3e4e60a317e6d4..4b561ee4630e399bc72b4cc827af2fe7c294820b 100644 (file)
@@ -830,7 +830,7 @@ namespace {
 
     // If we are pondering or in infinite search, we shouldn't print the
     // best move before we are told to do so.
-    if (!AbortSearch && (PonderSearch || InfiniteSearch))
+    if (!AbortSearch && !ExactMaxTime && (PonderSearch || InfiniteSearch))
         wait_for_stop_or_ponderhit();
     else
         // Print final search statistics