Core: Generic cleanup (tab2spaces/trailing whitespace removal)
This commit is contained in:
1 parent
57f85ab7da
commit
137b079eea
57 files changed
+252
-252
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user