Fix captures and some moves for Grand & Wildebeest
[vchess.git] / public / javascripts / variants / Grand.js
index db0543f..8cdf6d7 100644 (file)
@@ -191,7 +191,6 @@ class GrandRules extends ChessRules
                if (move.vanish.length==2 && move.appear.length==1
                        && move.vanish[1].p != VariantRules.PAWN)
                {
-                       // Capture: update this.captures
                        this.captures[move.vanish[1].c][move.vanish[1].p] =
                                Math.max(0, this.captures[move.vanish[1].c][move.vanish[1].p]-1);
                }