aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-23 14:05:37 +0200
committerQAston <none@none>2009-06-23 14:05:37 +0200
commitf2ec641e429470bd3adc01bbdf1d62e900b5fa2a (patch)
tree0165de38d0b67f0302fb494df07d02953a028d2b /src/game/SpellAuras.cpp
parent64786941ddf531bcd3b4bea1738151bfc46a19a7 (diff)
[8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. Author:XTZGZoReX
[8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 1d19124a067..1bed0715ce5 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2895,7 +2895,7 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
if (Real)
{
// pet auras
- if(PetAura const* petSpell = spellmgr.GetPetAura(GetId()))
+ if(PetAura const* petSpell = spellmgr.GetPetAura(GetId(), m_effIndex))
{
if(apply)
m_target->AddPetAura(petSpell);