Fix castling rule assignment in shuffle games
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Jan 2010 23:25:57 +0000 (00:25 +0100)
committerArun Persaud <arun@nubati.net>
Sat, 9 Jan 2010 20:01:12 +0000 (12:01 -0800)
commit8746a61117e305a0cc3c2a113464a7a3d9c1230d
tree5480cdb6b01bf67adc864a7a670889bd0d1ac3fd
parent0cba5b3ac1360105f1ac24aba3c848adfa87f009
Fix castling rule assignment in shuffle games

The conversion to in-board storage for rights copied directly to boards[0] in steadof
initialPosition, and was then overwritten when the latter was copied with uninitialized
rights to boards[0]. This affected FRC and CRC, where rights are non-standard.
backend.c