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
@@ -347,7 +347,7 @@ void WorldSession::DoLootRelease(ObjectGuid lguid)
else
{
// Only delete item if no loot or money (unlooted loot is saved to db) or if it isn't an openable item
if (pItem->loot.isLooted() || !(proto->Flags & ITEM_PROTO_FLAG_OPENABLE))
if (pItem->loot.isLooted() || !(proto->Flags & ITEM_PROTO_FLAG_HAS_LOOT))
player->DestroyItem(pItem->GetBagSlot(), pItem->GetSlot(), true);
}
return; // item can be looted only single player