From: H.G. Muller Date: Thu, 11 Jun 2009 04:30:19 +0000 (-0700) Subject: fixed castling bug in variant twokings. X-Git-Tag: v4.4.0.alpha6~16 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=967db27fec785a360ebaa882923d84374ed96932;p=xboard.git fixed castling bug in variant twokings. --- diff --git a/backend.c b/backend.c index e3f1cee..face7f1 100644 --- a/backend.c +++ b/backend.c @@ -4627,11 +4627,6 @@ InitPosition(redraw) break; case VariantTwoKings: pieces = twoKingsArray; - nrCastlingRights = 8; /* add rights for second King */ - castlingRights[0][6] = initialRights[2] = 5; - castlingRights[0][7] = initialRights[5] = 5; - castlingRank[6] = 0; - castlingRank[7] = BOARD_HEIGHT-1; break; case VariantCapaRandom: shuffleOpenings = TRUE;