From d82dceedeabcd31bcda9ac7f23b700a5ee72308a Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 29 Dec 2011 19:55:33 +0100 Subject: [PATCH] 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. --- backend.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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) { -- 1.7.0.4