Player/Items: Fix the item durations when the item is stored in a bag different than the default backpack

Closes #1026
Signed-off-by: Subv <[email protected]>
This commit is contained in:
Subv
2012-04-13 18:58:27 -05:00
parent ba957e6a0e
commit 98e1847999
+1 -1
View File
@@ -17657,7 +17657,7 @@ void Player::_LoadInventory(PreparedQueryResult result, uint32 timeDiff)
ItemPosCountVec dest; ItemPosCountVec dest;
err = CanStoreItem(itr->second->GetSlot(), slot, dest, item); err = CanStoreItem(itr->second->GetSlot(), slot, dest, item);
if (err == EQUIP_ERR_OK) if (err == EQUIP_ERR_OK)
itr->second->StoreItem(slot, item, true); item = StoreItem(dest, item, true);
} }
} }