summaryrefslogtreecommitdiff
path: root/src/fen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fen.c')
-rwxr-xr-xsrc/fen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fen.c b/src/fen.c
index 8a2dcc9..2baa05d 100755
--- a/src/fen.c
+++ b/src/fen.c
@@ -300,6 +300,7 @@ Return value:
// location to the list and point from the pawn to the list.
//
pos->cPawns[uColor][uPieceCounters[uPieceIndex]] = cSquare;
+ pos->bbPawns[uColor] |= COOR_TO_BB(cSquare);
pos->rgSquare[cSquare].uIndex = uPieceCounters[uPieceIndex];
pos->rgSquare[cSquare].pPiece = p;
pos->uPawnMaterial[uColor] += VALUE_PAWN;