diff mm7_1.cpp @ 173:8e6ed320a356

Слияние
author Ritor1
date Tue, 11 Dec 2012 21:54:53 +0600
parents 87c503d426e0
children 90a9c828c2a6
line wrap: on
line diff
--- a/mm7_1.cpp	Tue Dec 11 21:54:43 2012 +0600
+++ b/mm7_1.cpp	Tue Dec 11 21:54:53 2012 +0600
@@ -5731,10 +5731,10 @@
     v6 = v0->GetItemIDAtInventoryIndex(&a4);
     if ( v6 )
     {
-      *((char *)ptr_507BD4->ptr_1C + 8) &= 0x7Fu;
-      *((short *)ptr_507BD4->ptr_1C + 2) = uActiveCharacter - 1;
-      *((int *)ptr_507BD4->ptr_1C + 3) = v6 - 1;
-      *((short *)ptr_507BD4->ptr_1C + 3) = a4;
+      *((char *)pGUIWindow_Settings->ptr_1C + 8) &= 0x7Fu;
+      *((short *)pGUIWindow_Settings->ptr_1C + 2) = uActiveCharacter - 1;
+      *((int *)pGUIWindow_Settings->ptr_1C + 3) = v6 - 1;
+      *((short *)pGUIWindow_Settings->ptr_1C + 3) = a4;
       ptr_50C9A4 = (ItemGen *)&v0->spellbook.pDarkSpellbook.bIsSpellAvailable[36 * v6 + 5];
       unk_50C9A0 = 0;
       if ( pMessageQueue_50CBD0->uNumMessages )