Fix legality testing with mandatory capture
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 5 Dec 2016 08:54:30 +0000 (09:54 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:24 +0000 (16:39 +0100)
commit1c5fc3438224a019380db2fcdc6d6c25693717a6
tree55afb12108a525edca63c132386b91677633a204
parente9c8ca5c16307c2366d4128507b57f7a0d4e6a2b
Fix legality testing with mandatory capture

When a capture was possible in suicide/giveaway/losers, only the board
markers of all non-captures were cleared, but not the legality of the
corresponding destination squares in the array legal[][]. The patch that
forced destinations to be legal when the engine had highlighted them had
therefore broken rejection of illegal non-captures in this case.
backend.c