Skip to content

Commit

Permalink
tweaq.
Browse files Browse the repository at this point in the history
bench 3671680
  • Loading branch information
Vizvezdenec committed Nov 25, 2018
1 parent 78a8a7f commit c6a8349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Expand Up @@ -324,7 +324,7 @@ namespace {

if (Pt == BISHOP || Pt == KNIGHT)
{
Bitboard blocked = pos.pieces(Us, PAWN) & shift<Down>(pos.pieces(Them, PAWN)) & ~attackedBy[Them][PAWN];
Bitboard blocked = pos.pieces(Us, PAWN) & shift<Down>(pos.pieces(Them)) & ~attackedBy[Them][PAWN];

if ((mob==0) && (pos.attacks_from<Pt>(s) & blocked))
mobility[Us] -= ImmobilePiece;
Expand Down

0 comments on commit c6a8349

Please sign in to comment.