]> git.sesse.net Git - stockfish/blobdiff - src/pawns.cpp
Remove !extension check #2045
[stockfish] / src / pawns.cpp
index c581c8e72e90fa7ef4ac64408b1fa56405b1d21b..6072745b6e7f6f1b06653d2094d89ee72e2d4f27 100644 (file)
@@ -96,7 +96,7 @@ namespace {
 
         // Flag the pawn
         opposed    = theirPawns & forward_file_bb(Us, s);
-        stoppers   = theirPawns & passed_pawn_mask(Us, s);
+        stoppers   = theirPawns & passed_pawn_span(Us, s);
         lever      = theirPawns & PawnAttacks[Us][s];
         leverPush  = theirPawns & PawnAttacks[Us][s + Up];
         doubled    = ourPawns   & (s - Up);