X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftimeman.cpp;h=169c7821c943160e4c995e837a084af2e792964f;hb=4b2979760f3862700c6a0b8d3ab0f6a6e0a638c0;hp=061de0182f7d75e698d73664b9bf3a25dd603e4b;hpb=5ea1cbc778508a9a7b720becaf22dd96a4472826;p=stockfish diff --git a/src/timeman.cpp b/src/timeman.cpp index 061de018..169c7821 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -100,7 +100,7 @@ void TimeManagement::init(Search::LimitsType& limits, Color us, int ply) { // Never use more than 80% of the available time for this move optimumTime = TimePoint(optScale * timeLeft); - maximumTime = TimePoint(std::min(0.8 * limits.time[us] - moveOverhead, maxScale * optimumTime)); + maximumTime = TimePoint(std::min(0.8 * limits.time[us] - moveOverhead, maxScale * optimumTime)) - 10; if (Options["Ponder"]) optimumTime += optimumTime / 4;