mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
This commit is contained in:
parent
9dcdd93549
commit
263c9b6d3f
@ -537,7 +537,7 @@ void Raid::HealGroup(uint32 heal_amt, Mob* caster, uint32 gid, float range)
|
||||
if(members[gi].member){
|
||||
if(members[gi].GroupNumber == gid)
|
||||
{
|
||||
distance = caster->DistNoRoot(*members[gi].member);
|
||||
distance = ComparativeDistance(caster->GetPosition(), members[gi].member->GetPosition());
|
||||
if(distance <= range2){
|
||||
numMem += 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user