[XTarget] Revert All XTarget Corpse Changes (#1944)

This commit is contained in:
mmcgarvey authored and GitHub committed 2022-01-23 20:18:38 -06:00
1 parent e99c8dafc5
commit e4f2aec11e
4 files changed
+3 -13

No files matched your search

-3
View File
@@ -2583,9 +2583,6 @@ bool NPC::Death(Mob* killer_mob, int32 damage, uint16 spell, EQ::skills::SkillTy
entity_list.RemoveFromAutoXTargets(this);
if (killer != nullptr && killer->GetUltimateOwner() && killer->GetUltimateOwner()->IsClient()) {
killer->GetUltimateOwner()->CastToClient()->ProcessXTargetAutoHaters();
}
uint16 emoteid = this->GetEmoteID();
auto corpse = new Corpse(this, &itemlist, GetNPCTypeID(), &NPCTypedata,
level > 54 ? RuleI(NPC, MajorNPCCorpseDecayTimeMS)