[svn] Cast on caster for SPELL_EFFECT_TRADE_SKILL.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2008-11-12 10:36:13 -06:00
1 parent f40b573a45
commit e3a9de2d84
1 file changed
+4 -3
+4 -3
View File
@@ -456,10 +456,11 @@ void Spell::FillTargetMap()
{
switch(m_spellInfo->Effect[i])
{
case SPELL_EFFECT_PARRY:
case SPELL_EFFECT_BLOCK:
case SPELL_EFFECT_PARRY: // 0
case SPELL_EFFECT_BLOCK: // 0
case SPELL_EFFECT_SKILL: // always with dummy 3 as A
case SPELL_EFFECT_LEARN_SPELL:
case SPELL_EFFECT_LEARN_SPELL: // 0
case SPELL_EFFECT_TRADE_SKILL: // 0 or 1
tmpUnitMap.push_back(m_caster);
break;
}