aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-19 17:23:03 +0200
committerQAston <none@none>2009-04-19 17:23:03 +0200
commitcfabdd2fd265b38b8771fd870334dcc9b64a0c8a (patch)
tree20499a7e5a60a4f701c7bb732493f4d4b2fbb4ba /src/game/SpellAuras.cpp
parent73749e13fe3666c963a9cfdc0ea85a7d68d0b27d (diff)
*Some changes to pet spell learning-now pet passives should work.
*Fix a crash with lifebloom. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 2 insertions, 1 deletions
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())