mirror of
https://github.com/reactos/reactos.git
synced 2024-07-22 12:18:04 +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 */
|
/* Game finished successfully */
|
||||||
void GameFinished()
|
void GameFinished()
|
||||||
{
|
{
|
||||||
|
SpiderWnd.EmptyStacks();
|
||||||
|
|
||||||
MessageBox(SpiderWnd, MsgWin, szAppName, MB_OK | MB_ICONINFORMATION);
|
MessageBox(SpiderWnd, MsgWin, szAppName, MB_OK | MB_ICONINFORMATION);
|
||||||
if( IDYES == MessageBox(SpiderWnd, MsgDeal, szAppName, MB_YESNO | MB_ICONQUESTION) )
|
if( IDYES == MessageBox(SpiderWnd, MsgDeal, szAppName, MB_YESNO | MB_ICONQUESTION) )
|
||||||
{
|
{
|
||||||
|
@ -208,7 +210,6 @@ void GameFinished()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SpiderWnd.EmptyStacks();
|
|
||||||
fGameStarted = false;
|
fGameStarted = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue