aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-07 23:01:36 +0200
committerQAston <none@none>2009-04-07 23:01:36 +0200
commitf6df4d1bb846b11cbd3fecb6e172aed2b6d96a7c (patch)
treea50f902f99f6136c97c7078a4f47dc95b9e819bb
parent017c838fd49946be289a2644259c932eeaf8f49a (diff)
*Temporary crashfix for procflag
--HG-- branch : trunk
-rw-r--r--src/game/Unit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 49904c8d7e4..a1c77be2ace 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -11502,6 +11502,10 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
if (!i->triggeringAura[j])
continue;
+ // possible for stacked auras from same caster, skip then
+ if (parentAura->GetPartAura(j)!=i->triggeringAura[j]->triggeredByAura)
+ continue;
+
SpellProcEventEntry const *spellProcEvent = i->triggeringAura[j]->spellProcEvent;
AuraEffect *triggeredByAura =triggeredByAura = i->triggeringAura[j]->triggeredByAura;