From 1c5fc3438224a019380db2fcdc6d6c25693717a6 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 5 Dec 2016 09:54:30 +0100 Subject: [PATCH] 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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 3792971..890461a 100644 --- a/backend.c +++ b/backend.c @@ -7462,7 +7462,7 @@ MarkTargetSquares (int clear) if(PosFlags(0) & F_MANDATORY_CAPTURE) { for(x=0; x1) capt++; if(capt) - for(x=0; x