diff options
author | megamage <none@none> | 2008-11-12 10:36:13 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-12 10:36:13 -0600 |
commit | e3a9de2d847ab1b3d643e36ac335e07b59d6e041 (patch) | |
tree | 6a9092bc06612782d7ef7215b48f7405990b0ec3 /src | |
parent | f40b573a45de39ff56e321c57d9a1e6613b2146a (diff) |
[svn] Cast on caster for SPELL_EFFECT_TRADE_SKILL.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 1a22c2a529d..8d5eee36d01 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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; } |