diff --git a/src/search.cpp b/src/search.cpp index 85817cd1..a9e76c45 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -898,6 +898,7 @@ moves_loop: // When in check search starts from here // Step 13. Pruning at shallow depth if ( !rootNode + && pos.non_pawn_material(pos.side_to_move()) && bestValue > VALUE_MATED_IN_MAX_PLY) { if ( !captureOrPromotion