From f6df4d1bb846b11cbd3fecb6e172aed2b6d96a7c Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 7 Apr 2009 23:01:36 +0200 Subject: *Temporary crashfix for procflag --HG-- branch : trunk --- src/game/Unit.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; -- cgit v1.2.3