From 2d7297dc676c93005bf3dca955fbfcab3953d3b5 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Sat, 17 Jan 2015 17:51:52 -0800 Subject: [PATCH] Removed a usage of Mob::DistNoZ and used DistanceNoZ instead --- zone/entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/entity.cpp b/zone/entity.cpp index 9cf0d45a5..486a65972 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -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;