Skip to content

Commit

Permalink
Fix for SebLague#445
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas authored and Thomas committed Aug 12, 2023
1 parent ec7cf32 commit 56303fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public static (Chess.Move move, PieceType pieceType, PieceType captureType) Crea
else if (startSquare.File != targetSquare.File && board.GetPiece(targetSquare).IsNull)
{
flag = Chess.Move.EnPassantCaptureFlag;
capturedPieceType = PieceType.Pawn;
}
}
}
Expand Down

0 comments on commit 56303fd

Please sign in to comment.