Scripts: Replaced calls to ForcedDespawn with DespawnOrUnsummon (calls appropriate AI hooks in case of temporary summons) and made ForcedDespawn private

This commit is contained in:
Shauren committed 2012-04-24 16:53:37 +02:00
1 parent 396b1ded1a
commit 1851a2e9e3
18 files changed
+32 -31

No files matched your search

+1 -1
View File
@@ -2006,7 +2006,7 @@ class spell_item_muisek_vessel : public SpellScriptLoader
{
if (Creature* target = GetHitCreature())
if (target->isDead())
target->ForcedDespawn();
target->DespawnOrUnsummon();
}
void Register()