From a811921d8e0a915fce494422e38d6d32a9524a2f Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 17 Jan 2010 12:51:16 +0000 Subject: [PATCH] Empty the card stacks before showing the win message box. svn path=/trunk/; revision=45122 --- reactos/base/applications/games/spider/spigame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/base/applications/games/spider/spigame.cpp b/reactos/base/applications/games/spider/spigame.cpp index e025d6c0639..d3717207f7f 100644 --- a/reactos/base/applications/games/spider/spigame.cpp +++ b/reactos/base/applications/games/spider/spigame.cpp @@ -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; } } -- 2.17.1