projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another typo... getting late
[vchess.git]
/
client
/
src
/
variants
/
Otage.js
diff --git
a/client/src/variants/Otage.js
b/client/src/variants/Otage.js
index
b6f38b3
..
b3fabec
100644
(file)
--- a/
client/src/variants/Otage.js
+++ b/
client/src/variants/Otage.js
@@
-386,7
+386,7
@@
export class OtageRules extends ChessRules {
"oneStep"
);
if (!noCastle && this.castleFlags[this.turn].some(v => v < V.size.y))
"oneStep"
);
if (!noCastle && this.castleFlags[this.turn].some(v => v < V.size.y))
- baseMoves = baseMoves.concat(this.getCastleMoves(
sq
));
+ baseMoves = baseMoves.concat(this.getCastleMoves(
[x, y]
));
break;
}
// When a pawn in an union reaches final rank with a non-standard
break;
}
// When a pawn in an union reaches final rank with a non-standard