Author: ekohl
Date: Sun Jan 17 13:51:16 2010
New Revision: 45122
URL:
http://svn.reactos.org/svn/reactos?rev=45122&view=rev
Log:
Empty the card stacks before showing the win message box.
Modified:
trunk/reactos/base/applications/games/spider/spigame.cpp
Modified: trunk/reactos/base/applications/games/spider/spigame.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] Sun Jan 17
13:51:16 2010
@@ -201,6 +201,8 @@
/* 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 @@
}
else
{
- SpiderWnd.EmptyStacks();
fGameStarted = false;
}
}