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)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Jan 2010 23:25:57 +0000 (00:25 +0100)
commit9eb6760c0c2816e3966db9e3bcbf83ce93fcf009
treeeec21e72e267b7b94a7fa6103a58103f4e57b2cb
parentfc95d91428ac0e5327b7d2a9a49188948dc0572e
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