mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 03:27:32 +00:00
Removed Mob::DistNoZ
This commit is contained in:
1 parent
2d7297dc67
commit
1e2198f5f4
2 files changed
-9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user