diff UI/UICharacter.cpp @ 1485:58d43397b827

m
author Ritor1
date Thu, 29 Aug 2013 18:10:53 +0600
parents 62c7f07bc05a
children f62e6d06acac
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Thu Aug 29 18:08:02 2013 +0600
+++ b/UI/UICharacter.cpp	Thu Aug 29 18:10:53 2013 +0600
@@ -2470,7 +2470,7 @@
           pParty->pPickedItem.Reset();
           pParty->SetHoldingItem(&pPlayers[uActiveCharacter]->pInventoryItemList[v52]);//(ItemGen *)(v10 + 532)
           _this.uBodyAnchor = 16;
-          memcpy((void *)(v10 + 532), &_this, 0x24u);
+          memcpy(&pPlayers[uActiveCharacter]->pInventoryItemList[v52], &_this, 0x24u);
           pPlayers[uActiveCharacter]->pEquipment.uRings[6] = v52 + 1;
         }
         return;