From: H.G. Muller Date: Thu, 29 Dec 2011 18:55:33 +0000 (+0100) Subject: Clear square markers on new game X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d82dceedeabcd31bcda9ac7f23b700a5ee72308a;p=xboard.git Clear square markers on new game Now that the markers can stay on after a first click, they need to be explicitly cleared when moving to another board, including a new game. --- diff --git a/backend.c b/backend.c index ffb0823..f59096c 100644 --- a/backend.c +++ b/backend.c @@ -10660,6 +10660,7 @@ Reset(redraw, init) ModeHighlight(); if(appData.icsActive) gameInfo.variant = VariantNormal; currentMove = forwardMostMove = backwardMostMove = 0; + MarkTargetSquares(1); InitPosition(redraw); for (i = 0; i < MAX_MOVES; i++) { if (commentList[i] != NULL) {