]> git.sesse.net Git - stockfish/blobdiff - src/pawns.cpp
Fix a MSVC warning
[stockfish] / src / pawns.cpp
index 798bc0a070319dc846986535e4480d9e3442d349..032b637e6a7680408ea039d4a591bc9cc2f417e0 100644 (file)
@@ -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