From aba285664fe9660a545bb4abc3d31cedb5142540 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 10 May 2009 01:19:39 -0500 Subject: *Fix the bug that totem can only apply the first aura effect. --HG-- branch : trunk --- src/game/Spell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Spell.cpp') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 122caa96373..5d4dae7f0b5 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1188,8 +1188,8 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask) if (aura_effmask) { - Unit * caster = m_originalCaster ? m_originalCaster : m_caster; - Aura * Aur= new Aura(m_spellInfo, aura_effmask, &m_currentBasePoints[0], unit, caster , m_CastItem, m_caster); + Unit * caster = m_originalCaster ? m_originalCaster : m_caster; + Aura * Aur = new Aura(m_spellInfo, aura_effmask, m_currentBasePoints, unit, caster, m_CastItem, m_caster); if (!Aur->IsAreaAura()) { -- cgit v1.2.3