From: Benjamin Auder Date: Sat, 21 Mar 2020 10:51:57 +0000 (+0100) Subject: Add comment on the 'en passant piece is a pawn' X-Git-Url: https://git.auder.net/variants/Chakart/pieces/doc/html/packages.html?a=commitdiff_plain;h=8c1ec21009634290a177ed5a0f093d900a698454;p=vchess.git Add comment on the 'en passant piece is a pawn' --- diff --git a/client/src/base_rules.js b/client/src/base_rules.js index f9574004..f51e8d01 100644 --- a/client/src/base_rules.js +++ b/client/src/base_rules.js @@ -679,6 +679,7 @@ export const ChessRules = class ChessRules { enpassantMove.vanish.push({ x: x, y: epSquare.y, + // Captured piece is usually a pawn, but next line seems harmless p: this.getPiece(x, epSquare.y), c: this.getColor(x, epSquare.y) });