From cfabdd2fd265b38b8771fd870334dcc9b64a0c8a Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 19 Apr 2009 17:23:03 +0200 Subject: *Some changes to pet spell learning-now pet passives should work. *Fix a crash with lifebloom. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index aace63d9d72..a5b2a429e27 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2599,7 +2599,8 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real) return; // Not needed in 3.1 - m_amount /=GetParentAura()->GetStackAmount(); + if (GetParentAura() && GetParentAura()->GetStackAmount()!=0) + m_amount /= GetParentAura()->GetStackAmount(); // final heal if(m_target->IsInWorld()) -- cgit v1.2.3