projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix captures and some moves for Grand & Wildebeest
[vchess.git]
/
public
/
javascripts
/
variants
/
Grand.js
diff --git
a/public/javascripts/variants/Grand.js
b/public/javascripts/variants/Grand.js
index
db0543f
..
8cdf6d7
100644
(file)
--- a/
public/javascripts/variants/Grand.js
+++ b/
public/javascripts/variants/Grand.js
@@
-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);
}