projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Antiking 1 notation
[vchess.git]
/
client
/
src
/
variants
/
Enpassant.js
diff --git
a/client/src/variants/Enpassant.js
b/client/src/variants/Enpassant.js
index
4b5ed33
..
dc181ca
100644
(file)
--- a/
client/src/variants/Enpassant.js
+++ b/
client/src/variants/Enpassant.js
@@
-203,10
+203,10
@@
export const VariantRules = class EnpassantRules extends ChessRules {
return filteredMoves.filter(m => m.vanish.length == 1);
}
return filteredMoves.filter(m => m.vanish.length == 1);
}
- isAttackedByKnight(sq, color
s
) {
+ isAttackedByKnight(sq, color) {
return this.isAttackedBySlideNJump(
sq,
return this.isAttackedBySlideNJump(
sq,
- color
s
,
+ color,
V.KNIGHT,
V.steps[V.KNIGHT]
);
V.KNIGHT,
V.steps[V.KNIGHT]
);