Fix target squares second leg
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 15 Oct 2013 13:49:31 +0000 (15:49 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sun, 22 Dec 2013 22:32:05 +0000 (23:32 +0100)
backend.c

index 3db2979..6675344 100644 (file)
--- 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;
          }
        }