projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
464c850
)
Fix clearing of markers dots with promo popup
author
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 5 Oct 2012 16:42:51 +0000 (18:42 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 21 Oct 2012 09:28:14 +0000 (11:28 +0200)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
4522ca1
..
7e8ed59
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-7316,6
+7316,7
@@
LeftClick (ClickType clickType, int xPix, int yPix)
if (HasPromotionChoice(fromX, fromY, toX, toY, &promoChoice, appData.sweepSelect)) {
SetHighlights(fromX, fromY, toX, toY);
+ MarkTargetSquares(1);
if(gameInfo.variant == VariantSuper || gameInfo.variant == VariantGreat || gameInfo.variant == VariantGrand) {
// [HGM] super: promotion to captured piece selected from holdings
ChessSquare p = boards[currentMove][fromY][fromX], q = boards[currentMove][toY][toX];