diff UIOptions.cpp @ 1042:0744f8665045

Merge
author Gloval
date Thu, 23 May 2013 08:27:15 +0400
parents 39f42990698f
children 8c02e6f74b29
line wrap: on
line diff
--- a/UIOptions.cpp	Thu May 23 08:26:51 2013 +0400
+++ b/UIOptions.cpp	Thu May 23 08:27:15 2013 +0400
@@ -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 )