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)
|
void HandleDummyTick(AuraEffect const* aurEff, AuraApplication const* aurApp)
|
||||||
{
|
{
|
||||||
if (aurApp->GetTarget()->isMoving())
|
if (aurApp)
|
||||||
aurApp->GetTarget()->CastSpell(aurApp->GetTarget(), SPELL_SHADOW_PRISON_DAMAGE, true, NULL, aurEff);
|
if (aurApp->GetTarget()->isMoving())
|
||||||
|
aurApp->GetTarget()->CastSpell(aurApp->GetTarget(), SPELL_SHADOW_PRISON_DAMAGE, true, NULL, aurEff);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Register()
|
void Register()
|
||||||
|
|||||||
Reference in New Issue
Block a user