Fix gating at Rook on castling in holdingless seirawan
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 1 Jan 2020 19:05:08 +0000 (20:05 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 1 Jan 2020 19:15:58 +0000 (20:15 +0100)
commitc8c5139747d6adf515ad26d39226263560c603eb
treeec73bf0afa4736476beaf9b8f1d971e6e2989690
parenta4f4013fc4895fac610acb76420926ef7b311a58
Fix gating at Rook on castling in holdingless seirawan

Castling must gate what is under the Rook if there is nothing under
the King. ApplyMove() must know this when it gets a move with gating
suffix, while UserMoveEvent() should be smart enough to add that suffix
when the user castles.
backend.c