mirror of
https://github.com/reactos/reactos.git
synced 2024-07-22 20:28:08 +00:00
Empty the card stacks before showing the win message box.
svn path=/trunk/; revision=45122
This commit is contained in:
parent
929ff6e2ac
commit
a811921d8e
|
@ -201,6 +201,8 @@ bool CARDLIBPROC StackDragProc(CardRegion &stackobj, int numDragCards)
|
|||
/* Game finished successfully */
|
||||
void GameFinished()
|
||||
{
|
||||
SpiderWnd.EmptyStacks();
|
||||
|
||||
MessageBox(SpiderWnd, MsgWin, szAppName, MB_OK | MB_ICONINFORMATION);
|
||||
if( IDYES == MessageBox(SpiderWnd, MsgDeal, szAppName, MB_YESNO | MB_ICONQUESTION) )
|
||||
{
|
||||
|
@ -208,7 +210,6 @@ void GameFinished()
|
|||
}
|
||||
else
|
||||
{
|
||||
SpiderWnd.EmptyStacks();
|
||||
fGameStarted = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue