diff GUIWindow.cpp @ 898:10fa7dad1391

DrawPaperdoll clean
author Ritor1
date Mon, 15 Apr 2013 16:36:56 +0600
parents 231523a39203
children 8cd0b155bebe
line wrap: on
line diff
--- a/GUIWindow.cpp	Thu Apr 04 09:35:58 2013 +0600
+++ b/GUIWindow.cpp	Mon Apr 15 16:36:56 2013 +0600
@@ -1995,7 +1995,7 @@
       pWindow->CreateButton(0, 0, 0, 0, 1, 0, UIMSG_CycleCharacters, 0, 9u, "", 0);
       return pWindow;
     }
-    if (eWindowType == WINDOW_1F)
+    if (eWindowType == WINDOW_CastSpell_InInventory)
     {
       pMouse->SetCursorBitmap("MICON2");
       pBtn_ExitCancel = pWindow->CreateButton(0x188u, 0x13Eu, 0x4Bu, 0x21u, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[34],//Отмена