X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=563e707ffe48df1c01d0e65dd5b4cbb7fb03e2f9;hp=b50792da85a05ae5ad85f3557543cb01bbfc69d6;hb=078625e33389536addc9f94b7fc197230ef2f0fb;hpb=6c040c821a50475840607ef5f11c270ee21d61da;ds=inline diff --git a/src/evaluate.cpp b/src/evaluate.cpp index b50792da..563e707f 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -438,7 +438,7 @@ namespace { { // ...and then remove squares not supported by another enemy piece b &= ( ei.attackedBy[Them][PAWN] | ei.attackedBy[Them][KNIGHT] - | ei.attackedBy[Them][BISHOP] | ei.attackedBy[Them][QUEEN]); + | ei.attackedBy[Them][BISHOP]); if (b) attackUnits += RookContactCheck * popcount(b);