Cleanup PetAI, remove unnecessary and broken JustDied(). Closes #7242

Thanks to Oiler2112 for suggestions and testing.
This commit is contained in:
MrSmite
2012-10-12 16:48:33 -04:00
parent b06e9cfd41
commit d28a62e579
3 changed files with 14 additions and 6 deletions

View File

@@ -2121,8 +2121,6 @@ class npc_shadowfiend : public CreatureScript
if (Unit* owner = me->ToTempSummon()->GetSummoner())
if (owner->HasAura(GLYPH_OF_SHADOWFIEND))
owner->CastSpell(owner, GLYPH_OF_SHADOWFIEND_MANA, true);
PetAI::JustDied(killer);
}
};