diff --git a/src/search.cpp b/src/search.cpp index 0e10f44f..50bce13c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1363,6 +1363,7 @@ moves_loop: // When in check, search starts from here // Don't search moves with negative SEE values if ( (!inCheck || evasionPrunable) + && (!givesCheck || !(pos.blockers_for_king(~pos.side_to_move()) & from_sq(move))) && !pos.see_ge(move)) continue;