mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 13:33:52 +00:00
Removed Mob::DistNoRootNoZ
This commit is contained in:
parent
2ccac25004
commit
0aefc0453d
@ -2274,13 +2274,6 @@ bool Mob::CanThisClassBlock(void) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
return ( (xDiff * xDiff) + (yDiff * yDiff) );
|
|
||||||
}
|
|
||||||
|
|
||||||
float Mob::GetReciprocalHeading(Mob* target) {
|
float Mob::GetReciprocalHeading(Mob* target) {
|
||||||
float Result = 0;
|
float Result = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user