]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Introduce depth limited benchmarking
[stockfish] / src / search.cpp
index c463ec393e42c98ed54880fc533f4fe0370b4210..3f4ad24ca17652319456568ef0169d1ab1ecd7e4 100644 (file)
@@ -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);