diff UI/UICharacter.cpp @ 2487:0683c0a38282

in LoadTextureFromLOD() func
author Ritor1
date Thu, 11 Sep 2014 17:26:19 +0600
parents 104fdbea0386
children 0a0c6d75aabe
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Sun Aug 24 22:27:51 2014 +0600
+++ b/UI/UICharacter.cpp	Thu Sep 11 17:26:19 2014 +0600
@@ -2592,7 +2592,7 @@
         pParty->pPickedItem.Reset();
         pParty->SetHoldingItem(&pPlayers[uActiveCharacter]->pInventoryItemList[v1]);
         _this.uBodyAnchor = 2;
-        memcpy(&pPlayers[uActiveCharacter]->pInventoryItemList[v1], &_this, 0x24u);
+        memcpy(&pPlayers[uActiveCharacter]->pInventoryItemList[v1], &_this, 0x24);
         pPlayers[uActiveCharacter]->pEquipment.uMainHand = v1 + 1;
         if ( pEquipType == EQUIP_WAND )
           v50 = _this.uItemID;