From 4ca17d413703a8fdb51018f4b95a6682ad8f80d0 Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 25 Jun 2009 15:34:08 +0200 Subject: *Fix Recently bandagd debuf - by Maxxie *Prevent possible crash in Chimera Shot handler. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index e9a358a05c2..7b3ca12c61e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5277,6 +5277,8 @@ void Spell::EffectScriptEffect(uint32 effIndex) flag96 familyFlag = aura->GetSpellProto()->SpellFamilyFlags; if (!(familyFlag[1] & 0x00000080 || familyFlag[0] & 0x0000C000)) continue; + if (!aura->GetPartAura(0)) + continue; // Serpent Sting - Instantly deals 40% of the damage done by your Serpent Sting. if (familyFlag[0] & 0x4000) -- cgit v1.2.3