diff --git a/src/evaluate.cpp b/src/evaluate.cpp index ac9cf90b..bbab9c50 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -586,10 +586,7 @@ namespace { & (attackedBy[Us][ALL_PIECES] | ~attackedBy[Them][ALL_PIECES]); // Bonus for safe pawn threats on the next move - b = pawn_attacks_bb(b) - & pos.pieces(Them) - & ~attackedBy[Us][PAWN]; - + b = pawn_attacks_bb(b) & pos.pieces(Them); score += ThreatByPawnPush * popcount(b); // Bonus for threats on the next moves against enemy queen