]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Little timeman.cpp massage
[stockfish] / src / search.cpp
index a38bbff65a6eef38323da1a611cd56ff70e27ee1..4424fe2f32d47b61aa1c82524b537f47d7d44ebc 100644 (file)
@@ -474,7 +474,8 @@ bool think(const Position& pos, bool infinite, bool ponder, int time[], int incr
   int myIncrement = increment[pos.side_to_move()];
   if (UseTimeManagement)
   {
-      calc_search_times(myTime, myIncrement, movesToGo, pos.startpos_ply_counter(), MaxSearchTime, AbsoluteMaxSearchTime);
+      get_search_times(myTime, myIncrement, movesToGo, pos.startpos_ply_counter(),
+                       &MaxSearchTime, &AbsoluteMaxSearchTime);
 
       if (get_option_value_bool("Ponder"))
       {