diff options
author | click <none@none> | 2010-04-20 00:02:37 +0200 |
---|---|---|
committer | click <none@none> | 2010-04-20 00:02:37 +0200 |
commit | e1e7083990a8422d7b8e649765bdb1ff6a78cd8c (patch) | |
tree | 1f718d28b8a9db88c4799fff7f87696307c15fc9 /src/game/Spell.cpp | |
parent | f23a3adb36065fdfdbee7603c021bb413fb6d9e3 (diff) |
Remove caster from always being part of casters targetlist during spellcasts - thanks to QAston for pointing out that it's useless! :)
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r-- | src/game/Spell.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f432d73767b..92c7e7bd02b 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -562,12 +562,6 @@ void Spell::SelectSpellTargets() continue; } - if (/*tmpUnitMap.empty() && */m_spellInfo->Targets & TARGET_FLAG_CASTER) - { - AddUnitTarget(m_caster, i); - continue; - } - if (!targetA && !targetB) { if (!GetSpellMaxRangeForFriend(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex))) |