A second click on the same piece was interpreted as a to-square rather
than deselection of the piece.
MarkTargetSquares(0);
DragPieceBegin(xPix, yPix);
}
MarkTargetSquares(0);
DragPieceBegin(xPix, yPix);
}
+ if(x == fromX && y == fromY) return; // if OnlyMove altered (x,y) we go on
+ second = FALSE;
}
// ignore clicks on holdings
if(x < BOARD_LEFT || x >= BOARD_RGHT) return;
}
// ignore clicks on holdings
if(x < BOARD_LEFT || x >= BOARD_RGHT) return;