diff mm7_6.cpp @ 423:88c30918eef7

NPC_EventProcessor
author Gloval
date Sat, 23 Feb 2013 23:09:48 +0400
parents 111f25d1cc04
children 58b71c1af7d8
line wrap: on
line diff
--- a/mm7_6.cpp	Sat Feb 23 19:35:32 2013 +0400
+++ b/mm7_6.cpp	Sat Feb 23 23:09:48 2013 +0400
@@ -2431,19 +2431,8 @@
         pGUIWindow_Settings->CreateButton(0xA5u, 0x1A6u, 0x23u, 0, 2, 0, 0x8Du, 1u, 0x32u, "", 0);
         pGUIWindow_Settings->CreateButton(0x118u, 0x1A6u, 0x23u, 0, 2, 0, 0x8Du, 2u, 0x33u, "", 0);
         pGUIWindow_Settings->CreateButton(0x186u, 0x1A6u, 0x23u, 0, 2, 0, 0x8Du, 3u, 0x34u, "", 0);
-        v29 = 0;
-        v28 = "";
-        v27 = 0;
-        v26 = 0;
-        v25 = 140;
-        v24 = 0;
-        v23 = 1;
-        v22 = 344;
-        v21 = 460;
-        v20 = 8;
-        v19 = 8;
-        v18 = pGUIWindow_Settings;
-        goto LABEL_56;
+		pGUIWindow_Settings->CreateButton(8, 8, 460, 344, 1, 0, 140, 0, 0, "", NULL);
+		sub_421B2C_PlaceInInventory_or_DropPickedItem();
       }
       if ( HIBYTE(v6) & 2 && !pGUIWindow_Settings )
       {