void AnimateUserMove (Widget w, XEvent * event,
String * params, Cardinal * nParams)
{
- extern ChessSquare promoSweep;
- if(promoSweep != EmptySquare && appData.sweepSelect) PromoScroll(event->xmotion.x, event->xmotion.y); else
+ if(!PromoScroll(event->xmotion.x, event->xmotion.y))
DragPieceMove(event->xmotion.x, event->xmotion.y);
}