X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=daf40dec7cc05a9c1b6f336bf9b3bb062d4311e2;hp=d99d5e12ec188dd2d3f5cb5f24f86f8984c96939;hb=c9b24c3358a26afdec5e33e369b6192039562971;hpb=93059830181b7167525ef4adad7d4ca3115b0701;ds=sidebyside diff --git a/src/search.cpp b/src/search.cpp index d99d5e12..daf40dec 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -403,7 +403,7 @@ bool think(Position& pos, const SearchLimits& limits, Move searchMoves[]) { NodesSincePoll = 0; current_search_time(get_system_time()); Limits = limits; - TimeMgr.init(Limits, pos.startpos_ply_counter()); + TimeMgr.init(Limits, pos.full_moves()); // Set output steram in normal or chess960 mode cout << set960(pos.is_chess960());