changeset 1702:5cbd88f8a2eb

fixing paperdoll bug
author Grumpy7
date Sun, 22 Sep 2013 19:48:02 +0200
parents edb41570f81b
children cc1d68c17e19 f8414042db1f
files UI/UICharacter.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();
       }
     }