diff mm7_1.cpp @ 898:10fa7dad1391

DrawPaperdoll clean
author Ritor1
date Mon, 15 Apr 2013 16:36:56 +0600
parents 2db21a810d48
children 8cd0b155bebe
line wrap: on
line diff
--- a/mm7_1.cpp	Thu Apr 04 09:35:58 2013 +0600
+++ b/mm7_1.cpp	Mon Apr 15 16:36:56 2013 +0600
@@ -694,17 +694,8 @@
   bRingsShownInCharScreen = 0;
   CharacterUI_LoadPaperdollTextures();
   pCurrentScreen = SCREEN_CASTING;
-  v2 = GUIWindow::Create(0, 0, 640, 480, WINDOW_1F, v1, 0);
-  pCharacterScreen_ExitBtn = v2->CreateButton(
-                 394u,
-                 318u,
-                 75u,
-                 33u,
-                 1,
-                 0,
-                 UIMSG_A8,
-                 0,
-                 0,
+  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,
                  pGlobalTXT_LocalizationStrings[79], // Close
                  (Texture *)(papredoll_dbrds[2] != -1 ? (int)&pIcons_LOD->pTextures[papredoll_dbrds[2]] : 0),
                  papredoll_dbrds[1] != -1 ? (int)&pIcons_LOD->pTextures[papredoll_dbrds[1]] : 0,