Fix RxK castling from engine in variant seirawan
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 7 Nov 2017 20:53:01 +0000 (21:53 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 7 Nov 2017 20:53:01 +0000 (21:53 +0100)
commit22be362b5abb0d3993d75763fda5112b47287cca
treeb884f78fcfc8278490d8d226f456cf9670adb6f1
parent718933f1c67acc537f88199e4c72e3ad1b6a32d7
Fix RxK castling from engine in variant seirawan

The RxK notation for castling with gating at the Rook square was mistaken
for a non-compliant castling notation in games without Fischer castling,
and corrected to the compliant notation by adjusting the to-square, assumed
to be the Rook. But this backfired for RxK, where it is the King. Now
castlings with the to-square on the central file are exempted from this
correction.
backend.c