diff options
author | megamage <none@none> | 2009-06-18 11:24:33 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-18 11:24:33 -0500 |
commit | c52e7e801c217eec00fd798ff9ea0450c64d49e2 (patch) | |
tree | 906a23d2d0078addec98f4b1a8da1f719bf906f0 /src | |
parent | 1f871af996eb837d7a191fb947bcf565f4592c1c (diff) |
*A temp fix of the bug that player sometimes cannot save inventory.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 212ada7f450..1a43b1ce58e 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16155,8 +16155,9 @@ void Player::_SaveInventory() if (test == NULL) { - sLog.outError("Player(GUID: %u Name: %s)::_SaveInventory - the bag(%d) and slot(%d) values for the item with guid %d are incorrect, the player doesn't have an item at that position!", GetGUIDLow(), GetName(), item->GetBagSlot(), item->GetSlot(), item->GetGUIDLow()); - error = true; + sLog.outCrash("Player(GUID: %u Name: %s)::_SaveInventory - the bag(%d) and slot(%d) values for the item with guid %d (state %d) are incorrect, the player doesn't have an item at that position!", GetGUIDLow(), GetName(), item->GetBagSlot(), item->GetSlot(), item->GetGUIDLow(), (int32)item->GetState()); + //error = true; + //now some items in bags cannot be saved but after cleansup they appear again } else if (test != item) { |