X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=4424fe2f32d47b61aa1c82524b537f47d7d44ebc;hp=a38bbff65a6eef38323da1a611cd56ff70e27ee1;hb=391cd57b52a18166f90202f01f28be1f3bf24d4c;hpb=f40e481fd63d056cbdad78c2c3fcdad0ff3556d9 diff --git a/src/search.cpp b/src/search.cpp index a38bbff6..4424fe2f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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")) {