Skip to content
Browse files

Revert a21bd87

  • Loading branch information...
1 parent a21bd87 commit e3fc82729ce9843eaacc54ad5d3b6e3c91c24293 @Doxito committed Apr 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/game/Entities/Player/Player.cpp
View
2 src/server/game/Entities/Player/Player.cpp
@@ -4893,7 +4893,7 @@ void Player::DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmC
}
Item* pItem = NewItemOrBag(itemProto);
- if (!pItem->LoadFromDB(item_guidlow, MAKE_NEW_GUID(guid, 0, HIGHGUID_PLAYER), fields2, item_template))
+ if (!pItem->LoadFromDB(item_guidlow, MAKE_NEW_GUID(guid, 0, HIGHGUID_PLAYER), itemFields, item_template))
{
pItem->FSetState(ITEM_REMOVED);
pItem->SaveToDB(trans); // it also deletes item object!

0 comments on commit e3fc827

Please sign in to comment.
Something went wrong with that request. Please try again.