Little timeman.cpp massage

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-08-02 11:49:49 +01:00
parent f40e481fd6
commit 391cd57b52
3 changed files with 84 additions and 55 deletions
+2 -1
View 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"))
{