From: H.G. Muller Date: Wed, 13 Jan 2010 10:35:34 +0000 (+0100) Subject: Fix TwoKings ICS castling-rights bug X-Git-Tag: v4.4.3.20100118~3 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=1eb23e354e12b8bb51755ea1255a90a7802c9b13;p=xboard.git Fix TwoKings ICS castling-rights bug Scanning the rank (as is done because of FRC) assigned castling rights to the rightmost King. Even scanning the opposite direction would not work, as it is not always the leftmost King that can castle. So we now explicitly test for a King on e1/e8 in TwoKings and assign it rights, relying on the Rook rights received from the ICS to control castling. --- diff --git a/backend.c b/backend.c index 31427c3..571ff13 100644 --- a/backend.c +++ b/backend.c @@ -3700,6 +3700,11 @@ ParseBoard12(string) for(k=BOARD_LEFT; k