Any left-clicking on the board now clears an existing premove, in addition
to what it normally does.
|| x == BOARD_RGHT+1 && y >= gameInfo.holdingsSize) )
return;
+ if(gotPremove && clickType == Press) { // user starts something after premove has been entered: abort premove as side effect
+ gotPremove = 0;
+ ClearPremoveHighlights();
+ }
+
if(clickType == Press && fromX == x && fromY == y && promoDefaultAltered)
fromX = fromY = -1; // second click on piece after altering default promo piece treated as first click