mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 06:02: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))
|
it->second->IsInvisible(client))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
MobDistance = it->second->DistNoZ(*client);
|
MobDistance = DistanceNoZ(it->second->GetPosition(), client->GetPosition());
|
||||||
if (MobDistance > distance)
|
if (MobDistance > distance)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user