X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=3f4ad24ca17652319456568ef0169d1ab1ecd7e4;hp=1110faaae2fcb355343e54809eae49601064c55c;hb=18677852315b960132b0e8daa220c83b1c3c17cd;hpb=da7d872eda42d2df9b80af7e46f047b0328cc90e diff --git a/src/search.cpp b/src/search.cpp index 1110faaa..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); @@ -1430,7 +1430,6 @@ namespace { // Don't search captures and checks with negative SEE values if ( !isCheck && !move_promotion(move) - && !pvNode && (pos.midgame_value_of_piece_on(move_from(move)) > pos.midgame_value_of_piece_on(move_to(move))) && pos.see(move) < 0)