diff options
author | megamage <none@none> | 2009-01-07 17:29:07 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-07 17:29:07 -0600 |
commit | 19306959e4c03de54c40757b886b5960b3e21022 (patch) | |
tree | f4b41e89ddcb110f03cd8f66b58956496ba7e864 /src/game/SpellEffects.cpp | |
parent | 1595554e58fd1ad484e396ad41c6ddc6733db9ae (diff) |
*Calculate Damage Done only when needed.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 1198b807e8b..fc9f132e23d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -319,7 +319,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) } // Meteor like spells (divided damage to targets) - if(spellmgr.GetSpellCustomAttr(m_spellInfo->Id) & SPELL_ATTR_CU_SHARE_DAMAGE) + if(m_customAttr & SPELL_ATTR_CU_SHARE_DAMAGE) { uint32 count = 0; for(std::list<TargetInfo>::iterator ihit= m_UniqueTargetInfo.begin();ihit != m_UniqueTargetInfo.end();++ihit) |