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
/
Antiking1.js
diff --git
a/client/src/variants/Antiking1.js
b/client/src/variants/Antiking1.js
index
ab86f69
..
07dae26
100644
(file)
--- a/
client/src/variants/Antiking1.js
+++ b/
client/src/variants/Antiking1.js
@@
-56,7
+56,7
@@
export class Antiking1Rules extends BerolinaRules {
this.antikingPos["w"] = [i, k];
break;
default: {
- const num = parseInt(rows[i].charAt(j));
+ const num = parseInt(rows[i].charAt(j)
, 10
);
if (!isNaN(num)) k += num - 1;
}
}