Removed Mob::DistNoZ

This commit is contained in:
Arthur Ice 2015-01-17 17:53:41 -08:00
parent 2d7297dc67
commit 1e2198f5f4
2 changed files with 0 additions and 9 deletions

View File

@ -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;

View File

@ -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;