X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=bbab9c5032e09aaba7cba6f7c544721b76253db9;hp=ac9cf90bdcb314aad1198af283f0ab8d9662eb6c;hb=2660a9145ef23bb51daa4aa35ff502c5f935c9aa;hpb=a4eda3056ef7f6f69ae15925255621cb32443de9 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