diff --git a/src/search.cpp b/src/search.cpp index 0b4125fc..1db84c7e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -873,9 +873,9 @@ moves_loop: // When in check search starts from here && moveCount >= FutilityMoveCounts[improving][depth]; // Step 12. Extend checks - if ( givesCheck - && ( moveCount == 1 - || (!moveCountPruning && pos.see_sign(move) >= VALUE_ZERO))) + if ( givesCheck + && !moveCountPruning + && pos.see_sign(move) >= VALUE_ZERO) extension = ONE_PLY; // Singular extension search. If all moves but one fail low on a search of