*Calculate Damage Done only when needed.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-07 17:29:07 -06:00
1 parent 1595554e58
commit 19306959e4
5 files changed
+25 -10

No files matched your search

+1 -1
View File
@@ -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)