diff --git a/src/evaluate.cpp b/src/evaluate.cpp index b58d4a03..333d04ac 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -560,8 +560,7 @@ namespace { // Bonus for restricting their piece moves restricted = attackedBy[Them][ALL_PIECES] - & ~attackedBy[Them][PAWN] - & ~attackedBy2[Them] + & ~stronglyProtected & attackedBy[Us][ALL_PIECES]; score += RestrictedPiece * popcount(restricted);