From 967db27fec785a360ebaa882923d84374ed96932 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 10 Jun 2009 21:30:19 -0700 Subject: [PATCH] fixed castling bug in variant twokings. --- backend.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) 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; -- 1.7.0.4