X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=aefda8d2e9d3f44110a8d41fc55b0b16b73c66a7;hp=e97dd6a4a9763f894c913f23c7be08576436ccd0;hb=82a1e2d5fcd1c4d1c6ce3079cab24e286b2a1917;hpb=dc286d2673ef334c6bab0c4244a49a1b01e63cdc diff --git a/src/pawns.cpp b/src/pawns.cpp index e97dd6a4..aefda8d2 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -221,7 +221,7 @@ PawnInfoTable::Values PawnInfoTable::evaluate_pawns(const Position& pos, Bitboar const Square* ptr = pos.piece_list_begin(Us, PAWN); // Initialize pawn storm scores by giving bonuses for open files - for (File f = FILE_A; f <= FILE_H; f++) + for (f = FILE_A; f <= FILE_H; f++) if (!(ourPawns & file_bb(f))) { pi->ksStormValue[Us] += KStormOpenFileBonus[f];