Core/Spells: Fixed spell range check

Closes #17060
This commit is contained in:
Shauren authored and Aokromes committed 2016-07-20 18:26:18 +02:00
1 parent 4305129672
commit fa7026cee3
4 files changed
+63 -40

No files matched your search

@@ -298,7 +298,7 @@ public:
if (Blind_Timer <= diff)
{
std::list<Unit*> targets;
SelectTargetList(targets, 5, SELECT_TARGET_RANDOM, me->GetMeleeReach()*5, true);
SelectTargetList(targets, 5, SELECT_TARGET_RANDOM, me->GetCombatReach()*5, true);
for (std::list<Unit*>::const_iterator i = targets.begin(); i != targets.end(); ++i)
if (!me->IsWithinMeleeRange(*i))
{