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