From e1e7083990a8422d7b8e649765bdb1ff6a78cd8c Mon Sep 17 00:00:00 2001 From: click Date: Tue, 20 Apr 2010 00:02:37 +0200 Subject: Remove caster from always being part of casters targetlist during spellcasts - thanks to QAston for pointing out that it's useless! :) --HG-- branch : trunk --- src/game/Spell.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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))) -- cgit v1.2.3