From 88277ac10ce41eb91e0065306b4df5a2b9e2a433 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 7 Oct 2011 18:51:11 +0200 Subject: Scripts/Icecrown Citadel: Fixed possible crash in spell_the_lich_king_necrotic_plague_jump Closes #3390 --- src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') 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 85ab188f336..44d608be46e 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); } -- cgit v1.2.3