Core/Items: Missing renames 5faaddcf6bba50845f46a98a6387ffcd8abad2b8

This commit is contained in:
DDuarte authored and Aokromes committed 2016-07-20 16:04:39 +02:00
1 parent 3f90a9ac87
commit d8bd7aa551
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -12197,7 +12197,7 @@ void Player::DestroyItem(uint8 bag, uint8 slot, bool update)
// Delete rolled money / loot from db.
// MUST be done before RemoveFromWorld() or GetTemplate() fails
if (ItemTemplate const* pTmp = pItem->GetTemplate())
if (pTmp->Flags & ITEM_PROTO_FLAG_OPENABLE)
if (pTmp->Flags & ITEM_PROTO_FLAG_HAS_LOOT)
pItem->ItemContainerDeleteLootMoneyAndLootItemsFromDB();
if (IsInWorld() && update)