X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=3ed8ced0326e5ab162f3f70559a1bc80c8a07358;hb=9b43fd79372946128924ab3d42c64559e95d29d6;hp=9d29d2798737b81f76d8fa64ad130b97eac54ebd;hpb=f80c50bcddfd02c1b93dcde067d6a7362dda53a2;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 9d29d279..3ed8ced0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1983,7 +1983,7 @@ void check_time() { && !Signals.failedLowAtRoot && e > TimeMgr.available_time(); - bool noMoreTime = e > TimeMgr.maximum_time() - TimerResolution + bool noMoreTime = e > TimeMgr.maximum_time() - 2 * TimerResolution || stillAtFirstMove; if ( (Limits.use_time_management() && noMoreTime)