Small fix in editing castling rights
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 27 Jan 2010 12:34:55 +0000 (13:34 +0100)
committerArun Persaud <arun@nubati.net>
Sun, 7 Feb 2010 01:36:32 +0000 (17:36 -0800)
commit14ae6044530978bb1bf5ff45cc14376b3832c457
tree9c525adc89a76e3aa6316fafa78d0f80cdb632c9
parent0332dbee9a4458560fe2c35aef0356cabca2bebc
Small fix in editing castling rights

If there is no King with rights, the e-file is used to decide if a Rook
with rights is the K-side or Q-side Rook. This at least works with
corner Rooks, to avoid disappearence of Rook-rights on repetitive
editing of a position through intermediates with no King-rights.
backend.c