Scripts/Icecrown Citadel: Fixed possible crash in Shadow Prison aura script
--HG-- branch : trunk extra : rebase_source : 6eb3f49dece9087b4ac82a1cda236ca63ce97c24
This commit is contained in:
@@ -1476,8 +1476,9 @@ class spell_blood_council_shadow_prison : public SpellScriptLoader
|
||||
|
||||
void HandleDummyTick(AuraEffect const* aurEff, AuraApplication const* aurApp)
|
||||
{
|
||||
if (aurApp->GetTarget()->isMoving())
|
||||
aurApp->GetTarget()->CastSpell(aurApp->GetTarget(), SPELL_SHADOW_PRISON_DAMAGE, true, NULL, aurEff);
|
||||
if (aurApp)
|
||||
if (aurApp->GetTarget()->isMoving())
|
||||
aurApp->GetTarget()->CastSpell(aurApp->GetTarget(), SPELL_SHADOW_PRISON_DAMAGE, true, NULL, aurEff);
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
||||
Reference in New Issue
Block a user