diff --git a/zone/special_attacks.cpp b/zone/special_attacks.cpp index 8c03d5dbc..0414ce493 100644 --- a/zone/special_attacks.cpp +++ b/zone/special_attacks.cpp @@ -1221,7 +1221,7 @@ void NPC::RangedAttack(Mob* other) max_range *= max_range; if(ComparativeDistance(m_Position, other->GetPosition()) > max_range) return; - else if(DistNoRoot(*other) < (min_range * min_range)) + else if(ComparativeDistance(m_Position, other->GetPosition()) < (min_range * min_range)) return; if(!other || !IsAttackAllowed(other) ||