mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 21:12:26 +00:00
Removed a usage of Mob::DistNoZ and used DistanceNoZ instead
This commit is contained in:
parent
bff17cddf9
commit
2d7297dc67
@ -2942,7 +2942,7 @@ bool EntityList::MakeTrackPacket(Client *client)
|
||||
it->second->IsInvisible(client))
|
||||
continue;
|
||||
|
||||
MobDistance = it->second->DistNoZ(*client);
|
||||
MobDistance = DistanceNoZ(it->second->GetPosition(), client->GetPosition());
|
||||
if (MobDistance > distance)
|
||||
continue;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user