projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Forgot some imports in Minishogi
[vchess.git]
/
client
/
src
/
variants
/
Baroque.js
diff --git
a/client/src/variants/Baroque.js
b/client/src/variants/Baroque.js
index
74617cf
..
1e02cdf
100644
(file)
--- a/
client/src/variants/Baroque.js
+++ b/
client/src/variants/Baroque.js
@@
-425,8
+425,9
@@
export class BaroqueRules extends ChessRules {
if (
(sameRow && move.end.y == y) ||
(sameColumn && move.end.x == x)
- )
+ )
{
return true;
+ }
}
}
}
@@
-454,8
+455,9
@@
export class BaroqueRules extends ChessRules {
if (
this.getPiece(i, j) == V.KNIGHT &&
!this.isImmobilized([i, j])
- )
+ )
{
return true;
+ }
continue outerLoop;
}
// [else] Our color,