projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2f086eb
)
Fix target squares second leg
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 15 Oct 2013 13:49:31 +0000 (15:49 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 22 Dec 2013 22:32:05 +0000 (23:32 +0100)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/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;
}
}