Core/Items: Missing renames 5faaddcf6bba50845f46a98a6387ffcd8abad2b8
This commit is contained in:
1 parent
3f90a9ac87
commit
d8bd7aa551
5 files changed
+7
-7
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user