Core/Auras: Fixed another proc crash

Closes #3537
This commit is contained in:
Shauren
2011-10-16 14:33:48 +02:00
parent 96cf810ca2
commit 2ccf6ae297
+3
View File
@@ -7731,6 +7731,9 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
// Guard Dog // Guard Dog
case 201: case 201:
{ {
if (!victim)
return false;
triggered_spell_id = 54445; triggered_spell_id = 54445;
target = this; target = this;
float addThreat = float(CalculatePctN(procSpell->Effects[0].CalcValue(this), triggerAmount)); float addThreat = float(CalculatePctN(procSpell->Effects[0].CalcValue(this), triggerAmount));