aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
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())