From 88277ac10ce41eb91e0065306b4df5a2b9e2a433 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 7 Oct 2011 18:51:11 +0200 Subject: [PATCH] Scripts/Icecrown Citadel: Fixed possible crash in spell_the_lich_king_necrotic_plague_jump Closes #3390 --- .../scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp index 85ab188f33..44d608be46 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp @@ -2151,7 +2151,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader 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); }