*Fix a typo of fixed damage spells. Thanks to loop69

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-09 15:49:38 -05:00
parent ee2a26ee9f
commit bc14ebb102

View File

@@ -1283,7 +1283,10 @@ void Unit::CalculateSpellDamageTaken(SpellNonMeleeDamage *damageInfo, int32 dama
return;
if(spellInfo->AttributesEx4 & SPELL_ATTR_EX4_FIXED_DAMAGE)
{
damageInfo->damage = damage;
return;
}
Unit *pVictim = damageInfo->target;
if(!pVictim || !pVictim->isAlive())