projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Fullcavalry + complete rules. Also complete Atomic2 rules
[vchess.git]
/
client
/
src
/
base_rules.js
diff --git
a/client/src/base_rules.js
b/client/src/base_rules.js
index
d17ebe6
..
46c09a5
100644
(file)
--- a/
client/src/base_rules.js
+++ b/
client/src/base_rules.js
@@
-969,7
+969,7
@@
export const ChessRules = class ChessRules {
],
vanish: [
// King might be initially disguised (Titan...)
- new PiPo({ x: x, y: y, p:
this.board[x][y][1]
, c: c }),
+ new PiPo({ x: x, y: y, p:
castlingKing
, c: c }),
new PiPo({ x: x, y: rookPos, p: castlingPiece, c: c })
],
end: