projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Several small improvements + integrate options + first working draft of Cwda
[vchess.git]
/
client
/
src
/
variants
/
Vchess.js
diff --git
a/client/src/variants/Vchess.js
b/client/src/variants/Vchess.js
index
c12435c
..
fc43372
100644
(file)
--- a/
client/src/variants/Vchess.js
+++ b/
client/src/variants/Vchess.js
@@
-12,12
+12,7
@@
export class VchessRules extends ChessRules {
isAttackedByPawn(sq, color) {
return this.isAttackedBySlideNJump(
- sq,
- color,
- V.PAWN,
- V.steps[V.BISHOP],
- "oneStep"
- );
+ sq, color, V.PAWN, V.steps[V.BISHOP], 1);
}
getNotation(move) {