changeset 976:15c6b80caa3a

m
author Ritor1
date Thu, 09 May 2013 01:33:38 +0600
parents e875f5ab0cfb
children ac85898f5903
files UIPartyCreation.cpp
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/UIPartyCreation.cpp	Wed May 08 17:36:45 2013 +0600
+++ b/UIPartyCreation.cpp	Thu May 09 01:33:38 2013 +0600
@@ -749,20 +749,20 @@
       GUI_UpdateWindows();
       pRenderer->EndScene();
       pRenderer->Present();
-      if ( uGameState == 1 )
+      if ( uGameState == GAME_FINISHED )//if click Esc in PlayerCreation Window
       {
         v26 = 1;
-        v2 = 0;
+        //v2 = 0;
         //goto LABEL_27;
-        SetCurrentMenuID((MENU_STATE)v2);
+        SetCurrentMenuID((MENU_STATE)MENU_MAIN);
         continue;
       }
-      if ( uGameState == 6 )
+      if ( uGameState == GAME_STATE_6 )//if click OK in PlayerCreation Window
       {
         uGameState = v1;
-        v2 = 1;
+        //v2 = 1;
         //goto LABEL_27;
-        SetCurrentMenuID((MENU_STATE)v2);
+        SetCurrentMenuID((MENU_STATE)MENU_NEWGAME);
         continue;
       }
     }