diff UI/UICharacter.cpp @ 1702:5cbd88f8a2eb

fixing paperdoll bug
author Grumpy7
date Sun, 22 Sep 2013 19:48:02 +0200
parents f84b8b2a875c
children 8251e59fd7c1
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Sun Sep 22 18:10:35 2013 +0200
+++ b/UI/UICharacter.cpp	Sun Sep 22 19:48:02 2013 +0200
@@ -2702,7 +2702,7 @@
       if ( !ptr_50C9A4_ItemToEnchant )//снять вещь
       {
         pParty->SetHoldingItem(v38);
-        pPlayers[uActiveCharacter]->pEquipment.pIndices[pPlayers[uActiveCharacter]->pInventoryItemList[v36].uBodyAnchor] = 0;
+        pPlayers[uActiveCharacter]->pEquipment.pIndices[pPlayers[uActiveCharacter]->pInventoryItemList[v36].uBodyAnchor - 1] = 0;
         v38->Reset();
       }
     }