From: H.G. Muller Date: Tue, 15 Oct 2013 13:49:31 +0000 (+0200) Subject: Fix target squares second leg X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=729cea0f6cc7830c65b801eb7172ef68d57c2ff7;p=xboard.git Fix target squares second leg --- diff --git a/backend.c b/backend.c index 3db2979..6675344 100644 --- a/backend.c +++ b/backend.c @@ -7512,9 +7512,9 @@ LeftClick (ClickType clickType, int xPix, int yPix) MarkTargetSquares(1); if(x == killX && y == killY) killX = killY = -1; else { killX = x; killY = y; //remeber this square as intermediate - MarkTargetSquares(0); ReportClick("put", x, y); // and inform engine ReportClick("lift", x, y); + MarkTargetSquares(0); return; } }