Removed Mob::Dist

This commit is contained in:
Arthur Ice 2015-01-17 17:49:16 -08:00
parent 8895dd599e
commit ee0b9edc21
2 changed files with 0 additions and 11 deletions

View File

@ -2274,16 +2274,6 @@ bool Mob::CanThisClassBlock(void) const
}
}
float Mob::Dist(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;
float zDiff = other.m_Position.m_Z - m_Position.m_Z;
return sqrtf( (xDiff * xDiff)
+ (yDiff * yDiff)
+ (zDiff * zDiff) );
}
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;

View File

@ -511,7 +511,6 @@ public:
void ShowStats(Client* client);
void ShowBuffs(Client* client);
void ShowBuffList(Client* client);
float Dist(const Mob &) const;
float DistNoZ(const Mob &) const;
float DistNoRoot(const Mob &) const;
float DistNoRootNoZ(float x, float y) const;