X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftimeman.cpp;h=330709be6985d84be15be778dfc8746eccd0741a;hb=9d95d43c5793d46685127d8595b6fca350c9c9bd;hp=ea1e92d2aca5ca57ef0c6c2a6942ea2717d65753;hpb=e10255339fc7cb54bb0466945f759646f442f4f0;p=stockfish 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