X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=47f74f84ee77888d60dacf0e03251977d3cc82ff;hp=f3ceadbe130f481221eb8ffe553093ce7d3867a5;hb=e6310b3469b07b6bbecf8d8f75367a655090f22b;hpb=68d61b80c60a81055a2ffb2e251a237b979e9b31 diff --git a/src/pawns.cpp b/src/pawns.cpp index f3ceadbe..47f74f84 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -110,7 +110,7 @@ namespace { Square s; bool passed, isolated, opposed, backward, lever, connected; Score score = SCORE_ZERO; - const Square* pl = pos.list(Us); + const Square* pl = pos.squares(Us); const Bitboard* pawnAttacksBB = StepAttacksBB[make_piece(Us, PAWN)]; Bitboard ourPawns = pos.pieces(Us , PAWN);