X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=3f4ad24ca17652319456568ef0169d1ab1ecd7e4;hp=c463ec393e42c98ed54880fc533f4fe0370b4210;hb=18677852315b960132b0e8daa220c83b1c3c17cd;hpb=bac4da70c91bc4ac5def1dd6ae991aca3370299c diff --git a/src/search.cpp b/src/search.cpp index c463ec39..3f4ad24c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -431,7 +431,7 @@ void think(const Position &pos, bool infinite, bool ponder, int side_to_move, if (!movesToGo) // Sudden death time control { - if (increment) + if (myIncrement) { MaxSearchTime = myTime / 30 + myIncrement; AbsoluteMaxSearchTime = Max(myTime / 4, myIncrement - 100);