*Do not allow a spell proc itself. This fixes the crash caused by item 32500.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-12 10:25:47 -05:00
parent df4e8b456b
commit 722701381b
+3
View File
@@ -6778,6 +6778,9 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
// Set trigger spell id, target, custom basepoints
uint32 trigger_spell_id = auraSpellInfo->EffectTriggerSpell[triggeredByAura->GetEffIndex()];
if(procSpell && procSpell->Id == trigger_spell_id)
return false;
Unit* target = NULL;
int32 basepoints0 = 0;