[ros-diffs] [ekohl] 45122: Empty the card stacks before showing the win message box.

ekohl at svn.reactos.org ekohl at svn.reactos.org
Sun Jan 17 13:51:17 CET 2010


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/spider/spigame.cpp?rev=45122&r1=45121&r2=45122&view=diff
==============================================================================
--- 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;
     }
 }




More information about the Ros-diffs mailing list