From 4431aa019742fa5d1910a7ed138ff91f75d1db36 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Sun, 18 Jan 2015 01:39:17 -0800 Subject: [PATCH] Removed Mob::DistNoRootNoZ --- zone/mob.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/zone/mob.cpp b/zone/mob.cpp index 91f1647b9..57be8212b 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -2274,13 +2274,6 @@ bool Mob::CanThisClassBlock(void) const } } -float Mob::DistNoRootNoZ(float x, float y) const { - float xDiff = x - m_Position.m_X; - float yDiff = y - m_Position.m_Y; - - return ( (xDiff * xDiff) + (yDiff * yDiff) ); -} - float Mob::DistNoRootNoZ(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;