X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=47f74f84ee77888d60dacf0e03251977d3cc82ff;hp=f3ceadbe130f481221eb8ffe553093ce7d3867a5;hb=7ad85fca6d0ce5a8e62be67de7ec3d396670ca74;hpb=5ebdf2f8c857681309e60d831f4f56452fb81235 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);