diff --git a/src/search.cpp b/src/search.cpp index 3ce30b81..e352c96e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1041,9 +1041,7 @@ moves_loop: // When in check, search starts here { if (bestValue <= futilityValue && !is_decisive(bestValue) && !is_win(futilityValue)) - if (bestValue <= futilityValue && !is_decisive(bestValue) - && !is_win(futilityValue)) - bestValue = futilityValue; + bestValue = futilityValue; continue; }