Scripts/Icecrown Citadel: Fixed possible crash in spell_the_lich_king_necrotic_plague_jump

Closes #3390
This commit is contained in:
Shauren
2011-10-07 18:51:11 +02:00
parent 0acd9a9503
commit 88277ac10c
@@ -2151,7 +2151,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader
void AddMissingStack() void AddMissingStack()
{ {
if (!_hadAura && GetSpellValue()->EffectBasePoints[EFFECT_1] != AURA_REMOVE_BY_ENEMY_SPELL) if (GetHitAura() && !_hadAura && GetSpellValue()->EffectBasePoints[EFFECT_1] != AURA_REMOVE_BY_ENEMY_SPELL)
GetHitAura()->ModStackAmount(1); GetHitAura()->ModStackAmount(1);
} }