fixed corpses being marked as looted before they are fully looted

This commit is contained in:
ElderShell 2026-05-02 20:22:42 -06:00
parent 0629e81436
commit 48a8d0c620

View file

@ -344,10 +344,10 @@ void WorldSession::DoLootRelease(ObjectGuid lguid)
// Xinef: Buggs client? (Opening loot after closing)
//if (loot->isLooted())
{
loot->clear();
corpse->RemoveFlag(CORPSE_FIELD_DYNAMIC_FLAGS, CORPSE_DYNFLAG_LOOTABLE);
}
//{
// loot->clear();
// corpse->RemoveFlag(CORPSE_FIELD_DYNAMIC_FLAGS, CORPSE_DYNFLAG_LOOTABLE);
//}
}
else if (lguid.IsItem())
{