mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Some bug fixes
This commit is contained in:
+6
-1
@@ -573,7 +573,7 @@ void Mob::SendToFixZ(float new_x, float new_y, float new_z) {
|
||||
}
|
||||
}
|
||||
|
||||
float Mob::GetFixedZ(glm::vec3 destination, int32 z_find_offset) {
|
||||
float Mob::GetFixedZ(const glm::vec3 &destination, int32 z_find_offset) {
|
||||
BenchTimer timer;
|
||||
timer.reset();
|
||||
|
||||
@@ -615,6 +615,11 @@ float Mob::GetFixedZ(glm::vec3 destination, int32 z_find_offset) {
|
||||
return new_z;
|
||||
}
|
||||
|
||||
void Mob::DumpMovement(Client *to)
|
||||
{
|
||||
mMovementManager->Dump(this, to);
|
||||
}
|
||||
|
||||
void Mob::FixZ(int32 z_find_offset /*= 5*/, bool fix_client_z /*= false*/) {
|
||||
glm::vec3 current_loc(m_Position);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user