X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=032b637e6a7680408ea039d4a591bc9cc2f417e0;hp=798bc0a070319dc846986535e4480d9e3442d349;hb=a7592e69d728ac839f098f2ba17285c998a95839;hpb=a3b4e9e23ca7f8949336014468b872e57da85762 diff --git a/src/pawns.cpp b/src/pawns.cpp index 798bc0a0..032b637e 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -147,7 +147,7 @@ namespace { // If the pawn is passed, isolated, connected or a lever it cannot be // backward. If there are friendly pawns behind on adjacent files // it cannot be backward either. - if ( (passed | isolated | connected | lever) + if ( (passed | isolated | lever | connected) || (ourPawns & pawn_attack_span(Them, s))) backward = false; else