Mercurial > mm7
diff UIOptions.cpp @ 1038:39f42990698f
Cleanings
author | Nomad |
---|---|
date | Thu, 23 May 2013 03:29:29 +0200 |
parents | f93d17337113 |
children | 8c02e6f74b29 |
line wrap: on
line diff
--- a/UIOptions.cpp Wed May 22 14:12:51 2013 +0200 +++ b/UIOptions.cpp Thu May 23 03:29:29 2013 +0200 @@ -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 )