diff --git a/src/search.cpp b/src/search.cpp index a6c93b43..f39f1de1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1478,9 +1478,7 @@ moves_loop: // When in check, search starts from here && !pos.capture(move); // Don't search moves with negative SEE values - if ( (!inCheck || evasionPrunable) - && !(givesCheck && pos.is_discovery_check_on_king(~pos.side_to_move(), move)) - && !pos.see_ge(move)) + if ( (!inCheck || evasionPrunable) && !pos.see_ge(move)) continue; // Speculative prefetch as early as possible