diff mm7_1.cpp @ 960:9a5db2cf999a

UIMSG and WINDOW_Type
author Ritor1
date Sat, 04 May 2013 17:45:17 +0600
parents c0d0656aa662
children 5a12082c803d
line wrap: on
line diff
--- a/mm7_1.cpp	Fri May 03 17:38:30 2013 +0600
+++ b/mm7_1.cpp	Sat May 04 17:45:17 2013 +0600
@@ -692,7 +692,7 @@
   CharacterUI_LoadPaperdollTextures();
   pCurrentScreen = SCREEN_CASTING;
   v2 = GUIWindow::Create(0, 0, 640, 480, WINDOW_CastSpell_InInventory, v1, 0);
-  pCharacterScreen_ExitBtn = v2->CreateButton(394, 318, 75, 33, 1, 0, UIMSG_A8, 0, 0,
+  pCharacterScreen_ExitBtn = v2->CreateButton(394, 318, 75, 33, 1, 0, UIMSG_ClickExitCharacterWindowBtn, 0, 0,
                  pGlobalTXT_LocalizationStrings[79], // Close
                  pIcons_LOD->GetTexture(papredoll_dbrds[2]),
                  pIcons_LOD->GetTexture(papredoll_dbrds[1]), 0);