aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-04-13 18:58:27 -0500
committerSubv <s.v.h21@hotmail.com>2012-04-13 18:58:27 -0500
commit98e184799970a74b436a8040f24c27c9abb96dc4 (patch)
tree79cfb081bbbe3e0e2fb916ac7bdcacd798412b23 /src
parentba957e6a0e5861abb4d80a6ca7a4d4da0b15163e (diff)
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 <s.v.h21@hotmail.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Entities/Player/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
index 26ea7c110d2..25429a18eec 100755
--- a/src/server/game/Entities/Player/Player.cpp
+++ b/src/server/game/Entities/Player/Player.cpp
@@ -17657,7 +17657,7 @@ void Player::_LoadInventory(PreparedQueryResult result, uint32 timeDiff)
ItemPosCountVec dest;
err = CanStoreItem(itr->second->GetSlot(), slot, dest, item);
if (err == EQUIP_ERR_OK)
- itr->second->StoreItem(slot, item, true);
+ item = StoreItem(dest, item, true);
}
}