X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=7e8ed598b3db54170608a586a766028379be6810;hb=40eab476400a6232e304c760c8d8559fbe697c46;hp=4522ca1b650b95607b82ac622f92e2f6ea6fdf20;hpb=464c850454acd87b1f293c00d138a932a8641eba;p=xboard.git diff --git a/backend.c b/backend.c index 4522ca1..7e8ed59 100644 --- 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];