X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=9eac6d5f9414f4e3a58d1c4404e1f1e3ea2f4dac;hp=c09e23d687a19f34d4b74be3145805fd883bafb1;hb=01f2466f6eba4d4b28f0cd6ac7c2fd38d95b9401;hpb=5c58d1f5cb4871595c07e6c2f6931780b5ac05b5 diff --git a/src/search.cpp b/src/search.cpp index c09e23d6..9eac6d5f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -920,8 +920,8 @@ moves_loop: // When in check search starts from here // Step 13. Pruning at shallow depth if ( !rootNode - && !inCheck - && bestValue > VALUE_MATED_IN_MAX_PLY) + && !inCheck + && bestValue > VALUE_MATED_IN_MAX_PLY) { if ( !captureOrPromotion && !givesCheck