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:
1 parent
396b1ded1a
commit
1851a2e9e3
18 files changed
+32
-31
No files matched your search
@@ -2006,7 +2006,7 @@ class spell_item_muisek_vessel : public SpellScriptLoader
|
||||
{
|
||||
if (Creature* target = GetHitCreature())
|
||||
if (target->isDead())
|
||||
target->ForcedDespawn();
|
||||
target->DespawnOrUnsummon();
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
||||
Reference in new issue
Block a user