Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

testing

  • Loading branch information...
commit 875a902f371804438dac2a3a9cac7345ecab0d84 1 parent 6a5fc33
@Jildor authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/server/game/Entities/Item/Item.cpp
View
2  src/server/game/Entities/Item/Item.cpp
@@ -501,6 +501,7 @@ void Item::DeleteFromDB(SQLTransaction& trans)
/*static*/
void Item::DeleteFromInventoryDB(SQLTransaction& trans, uint32 itemGuid)
{
+ sObjectMgr->RemoveFakeItem(itemGuid);
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_INVENTORY_ITEM);
stmt->setUInt32(0, itemGuid);
trans->Append(stmt);
@@ -508,6 +509,7 @@ void Item::DeleteFromInventoryDB(SQLTransaction& trans, uint32 itemGuid)
void Item::DeleteFromInventoryDB(SQLTransaction& trans)
{
+ RemoveFakeDisplay();
DeleteFromInventoryDB(trans, GetGUIDLow());
}
Please sign in to comment.
Something went wrong with that request. Please try again.