diff options
author | leak <leakzx@googlemail.com> | 2011-01-26 01:03:35 +0100 |
---|---|---|
committer | leak <leakzx@googlemail.com> | 2011-01-26 01:03:35 +0100 |
commit | 137b079eea2c8bff3bfa33099c016502beeb868a (patch) | |
tree | 876ce4404a299c6ed7cccf79fc04d8ad4b29b385 /src/server/game/Spells/Spell.cpp | |
parent | 57f85ab7da3c1759a0cef3bd0497253c54bf1218 (diff) |
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rwxr-xr-x | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 9ea8100778c..2cc6d08c0be 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -1795,7 +1795,7 @@ void Spell::SearchChainTarget(std::list<Unit*> &TagUnitMap, float max_range, uin // Check if (*next) is a valid chain target. If not, don't add to TagUnitMap, and repeat loop. // If you want to add any conditions to exclude a target from TagUnitMap, add condition in this while() loop. - while ((m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MELEE + while ((m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MELEE && !m_caster->isInFrontInMap(*next, max_range)) || !m_caster->canSeeOrDetect(*next) || !cur->IsWithinLOSInMap(*next) |