projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9a59d11
)
fixed castling bug in variant twokings.
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 11 Jun 2009 04:30:19 +0000 (21:30 -0700)
committer
Arun Persaud
<arun@nubati.net>
Thu, 11 Jun 2009 04:30:19 +0000 (21:30 -0700)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
e3f1cee
..
face7f1
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-4627,11
+4627,6
@@
InitPosition(redraw)
break;
\r
case VariantTwoKings:
\r
pieces = twoKingsArray;
\r
- nrCastlingRights = 8; /* add rights for second King */
\r
- castlingRights[0][6] = initialRights[2] = 5;
\r
- castlingRights[0][7] = initialRights[5] = 5;
\r
- castlingRank[6] = 0;
\r
- castlingRank[7] = BOARD_HEIGHT-1;
\r
break;
\r
case VariantCapaRandom:
\r
shuffleOpenings = TRUE;
\r