Mercurial > mm7
diff mm7_5.cpp @ 358:4a236657a0be
GameMenuButton fix
author | Ritor1 |
---|---|
date | Thu, 21 Feb 2013 17:23:53 +0600 |
parents | 37b19ff5addd |
children | 57d81602e72c |
line wrap: on
line diff
--- a/mm7_5.cpp Thu Feb 21 10:07:51 2013 +0600 +++ b/mm7_5.cpp Thu Feb 21 17:23:53 2013 +0600 @@ -3225,7 +3225,7 @@ pGlobalTXT_LocalizationStrings[79],// "Exit" (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0), 0); //, v179); continue; - case UIMSG_6B: + case UIMSG_GameMenuButton: if ( pCurrentScreen ) { pGUIWindow_CurrentMenu->Release(); @@ -3239,6 +3239,7 @@ free((void *)uNumSeconds); stru_506E40._40E55E("gamma.pcx", 0); GUIWindow::Create(0x25Au, 0x1C2u, 0, 0, WINDOW_VoiceSwitcherButton, (int)pBtn_GameSettings, 0); + uNumVisibleWindows = uNumVisibleWindows - 1; //Ritor1: Insert //LABEL_453: if ( (signed int)pMessageQueue_50CBD0->uNumMessages >= 40 ) continue; @@ -3993,7 +3994,7 @@ SetCurrentMenuID(MENU_10); continue; } - if ( pUIMessageType == UIMSG_6B )//unknow + if ( pUIMessageType == UIMSG_GameMenuButton )//unknow { __debugbreak(); if ( pCurrentScreen ) @@ -16707,7 +16708,7 @@ if ( pCurrentScreen == SCREEN_HOUSE ) { if ( (signed int)pY < 345 && (signed int)pX < 469 ) - sub_4B1A2D(); + sub_4B1A2D();//identify item in inventory goto LABEL_132; } if ( pCurrentScreen <= SCREEN_HOUSE )