aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-20 14:01:46 -0600
committermegamage <none@none>2009-03-20 14:01:46 -0600
commit8f627853dfaab8bfecd24bfd96ad02c6503d517e (patch)
treeab518e88d6bfd462e50998541cbcc1575134ce66 /src/game/SpellAuras.cpp
parent7cd9a01954f6905dfb0e6a113b5799cc2442a39e (diff)
*More work on summon system.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 79a87bed293..9fdedb6f430 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -5440,6 +5440,7 @@ void Aura::CleanupTriggeredSpells()
if(m_spellProto->EffectApplyAuraName[GetEffIndex()] == SPELL_AURA_PERIODIC_TRIGGER_SPELL &&
GetSpellDuration(m_spellProto) == m_spellProto->EffectAmplitude[GetEffIndex()])
return;
+
m_target->RemoveAurasDueToSpell(tSpellId);
}