diff UIOptions.cpp @ 1057:37498d2cceed

Слияние
author Ritor1
date Thu, 23 May 2013 21:37:22 +0600
parents 39f42990698f
children 8c02e6f74b29
line wrap: on
line diff
--- a/UIOptions.cpp	Thu May 23 21:36:57 2013 +0600
+++ b/UIOptions.cpp	Thu May 23 21:37:22 2013 +0600
@@ -89,7 +89,7 @@
     signed int v4; // ecx@7
     signed int v5; // eax@8
     
-    if ( pGUIWindow_CurrentMenu->field_40 == 2 )
+    if ( pGUIWindow_CurrentMenu->receives_keyboard_input_2 == WINDOW_INPUT_CONFIRMED)
         {
         pPrevVirtualCidesMapping[uGameMenuUI_CurentlySelectedKeyIdx] = pKeyActionMap->pPressedKeysBuffer[0];
         memset(GameMenuUI_InvaligKeyBindingsFlags, 0, sizeof(GameMenuUI_InvaligKeyBindingsFlags));
@@ -111,7 +111,7 @@
             }
             while ( v4 < 28 );
             uGameMenuUI_CurentlySelectedKeyIdx = -1;
-            pGUIWindow_CurrentMenu->field_40 = 0;
+            pGUIWindow_CurrentMenu->receives_keyboard_input_2 = WINDOW_INPUT_NONE;
         }
     pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(uTextureID_Optkb[0]));
     if ( KeyboardPageNum == 1 )