diff --git a/zone/mob.cpp b/zone/mob.cpp index 6b7db13b2..8b8a23747 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -2274,14 +2274,6 @@ bool Mob::CanThisClassBlock(void) const } } -float Mob::DistNoZ(const Mob &other) const { - float xDiff = other.m_Position.m_X - m_Position.m_X; - float yDiff = other.m_Position.m_Y - m_Position.m_Y; - - return sqrtf( (xDiff * xDiff) - + (yDiff * yDiff) ); -} - float Mob::DistNoRoot(const Mob &other) const { float xDiff = other.m_Position.m_X - m_Position.m_X; float yDiff = other.m_Position.m_Y - m_Position.m_Y; diff --git a/zone/mob.h b/zone/mob.h index d32777d8f..c78eee65c 100644 --- a/zone/mob.h +++ b/zone/mob.h @@ -511,7 +511,6 @@ public: void ShowStats(Client* client); void ShowBuffs(Client* client); void ShowBuffList(Client* client); - float DistNoZ(const Mob &) const; float DistNoRoot(const Mob &) const; float DistNoRootNoZ(float x, float y) const; float DistNoRootNoZ(const Mob &) const;