From 279acb024a1a07a66d0591c51b2893d7ecb14c79 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 17 Jan 2010 14:17:10 +0100 Subject: [PATCH] Fix parsing of O-O and O-O-O after FEN pasting in FRC Because the initial rights were not set in the FEN reader, the initial rights of the previous game remained in force, so that the parser did not understand OO-castling (although it would allow KxR castling). --- backend.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index 7a8aee2..3480a11 100644 --- a/backend.c +++ b/backend.c @@ -14220,6 +14220,8 @@ ParseFEN(board, blackPlaysFirst, fen) } } } + for(i=0; i