mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-27 20:47:15 +00:00
Removed a usage of Mob::DistNoZ and used DistanceNoZ instead
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user