X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=9333320d0716fcef294df9a8cdb455a84619b769;hb=67b3a0d7c465522feb67841c7374bf863df19357;hp=7e8ed598b3db54170608a586a766028379be6810;hpb=40eab476400a6232e304c760c8d8559fbe697c46;p=xboard.git diff --git a/backend.c b/backend.c index 7e8ed59..9333320 100644 --- a/backend.c +++ b/backend.c @@ -6755,7 +6755,7 @@ UserMoveEvent(int fromX, int fromY, int toX, int toY, int promoChar) } } - if(doubleClick) { // [HGM] exclude: move entered with double-click on from square is for exclusion, not playing + if(doubleClick && gameMode == AnalyzeMode) { // [HGM] exclude: move entered with double-click on from square is for exclusion, not playing if(ExcludeOneMove(fromY, fromX, toY, toX, promoChar, '*')) // toggle ClearPremoveHighlights(); // was included else ClearHighlights(), SetPremoveHighlights(ff, rf, ft, rt); // exclusion indicated by premove highlights