X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.cpp;h=330709be6985d84be15be778dfc8746eccd0741a;hp=ea1e92d2aca5ca57ef0c6c2a6942ea2717d65753;hb=d5f883ab29d43b35746ff605cf13c3722df56041;hpb=e10255339fc7cb54bb0466945f759646f442f4f0 diff --git a/src/timeman.cpp b/src/timeman.cpp index ea1e92d2..330709be 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -66,10 +66,7 @@ namespace { if (type == OptimumTime && ponder) time *= 1.25; - if (type == MaxTime) - time -= 10; // Keep always at least 10 millisecs on the clock - - return std::max(0, time); + return time; } } // namespace