projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix capture-in-check bug for Capture and Losers variants
[vchess.git]
/
client
/
src
/
variants
/
Forward.js
diff --git
a/client/src/variants/Forward.js
b/client/src/variants/Forward.js
index
5c5b641
..
8f2fc89
100644
(file)
--- a/
client/src/variants/Forward.js
+++ b/
client/src/variants/Forward.js
@@
-46,7
+46,7
@@
export class ForwardRules extends ChessRules {
this.INIT_COL_KING["w"] = k;
break;
default: {
- const num = parseInt(fenRows[i].charAt(j));
+ const num = parseInt(fenRows[i].charAt(j)
, 10
);
if (!isNaN(num)) k += num - 1;
}
}