Permalink
Browse files

testing

  • Loading branch information...
Jildor committed Jul 17, 2012
1 parent 6a5fc33 commit 875a902f371804438dac2a3a9cac7345ecab0d84
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/server/game/Entities/Item/Item.cpp
@@ -501,13 +501,15 @@ 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);
}
void Item::DeleteFromInventoryDB(SQLTransaction& trans)
{
+ RemoveFakeDisplay();
DeleteFromInventoryDB(trans, GetGUIDLow());
}

0 comments on commit 875a902

Please sign in to comment.