# HG changeset patch # User Ritor1 # Date 1368041618 -21600 # Node ID 15c6b80caa3a45524b7dea93466bda7ce5799604 # Parent e875f5ab0cfb14084af5cf65386b0d36bdfa350f m diff -r e875f5ab0cfb -r 15c6b80caa3a UIPartyCreation.cpp --- 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; } }