Scripts/UK: Fixed crash. A better way must be implemented if there is any.
This commit is contained in:
1 parent
e43b1cd750
commit
ac40323ea0
1 file changed
+1
-1
@@ -302,7 +302,7 @@ class spell_frost_tomb : public SpellScriptLoader
|
||||
if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_DEATH)
|
||||
if (Unit* caster = GetCaster())
|
||||
if (caster->ToCreature() && caster->isAlive())
|
||||
caster->ToCreature()->DespawnOrUnsummon();
|
||||
caster->ToCreature()->DespawnOrUnsummon(1000);
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
||||
Reference in new issue
Block a user