CardStack activepile;
int LastId;
bool fGameStarted = false;
+bool bAutoroute = false;
void NewGame(void)
{
SetPlayTimer();
//only drop 1 card at a time
- if(dragcards.NumCards() != 1)
+ if (!bAutoroute && dragcards.NumCards() != 1)
{
TRACE("EXIT SuitStackDropProc()\n");
return false;
//stackobj.MoveCards(pDest, 1, true);
//use the SimulateDrag funcion, because we get the
//AddProc callbacks called for us on the destination stacks...
+ bAutoroute = true;
stackobj.SimulateDrag(pDest, 1, true);
+ bAutoroute = false;
}
TRACE("EXIT RowStackDblClickProc()\n");
}