mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-20 05:01:29 +00:00
Removed Mob::DistNoZ
This commit is contained in:
parent
2d7297dc67
commit
1e2198f5f4
@ -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 Mob::DistNoRoot(const Mob &other) const {
|
||||||
float xDiff = other.m_Position.m_X - m_Position.m_X;
|
float xDiff = other.m_Position.m_X - m_Position.m_X;
|
||||||
float yDiff = other.m_Position.m_Y - m_Position.m_Y;
|
float yDiff = other.m_Position.m_Y - m_Position.m_Y;
|
||||||
|
|||||||
@ -511,7 +511,6 @@ public:
|
|||||||
void ShowStats(Client* client);
|
void ShowStats(Client* client);
|
||||||
void ShowBuffs(Client* client);
|
void ShowBuffs(Client* client);
|
||||||
void ShowBuffList(Client* client);
|
void ShowBuffList(Client* client);
|
||||||
float DistNoZ(const Mob &) const;
|
|
||||||
float DistNoRoot(const Mob &) const;
|
float DistNoRoot(const Mob &) const;
|
||||||
float DistNoRootNoZ(float x, float y) const;
|
float DistNoRootNoZ(float x, float y) const;
|
||||||
float DistNoRootNoZ(const Mob &) const;
|
float DistNoRootNoZ(const Mob &) const;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user