diff options
| author | megamage <none@none> | 2009-05-10 01:19:39 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-10 01:19:39 -0500 |
| commit | aba285664fe9660a545bb4abc3d31cedb5142540 (patch) | |
| tree | b00502dc7dd43699b6e00b215535df9df4a21dc4 /src/game/Spell.cpp | |
| parent | 9215f0ee11ee6c9236c706b5673f0455d4dcc751 (diff) | |
*Fix the bug that totem can only apply the first aura effect.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()) { |
