mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-12 09:52:34 +00:00
Logs::FixZ to LogFixZ
This commit is contained in:
parent
44e3f28cb0
commit
076d393f79
@ -637,9 +637,7 @@ float Mob::GetFixedZ(const glm::vec3 &destination, int32 z_find_offset) {
|
|||||||
|
|
||||||
auto duration = timer.elapsed();
|
auto duration = timer.elapsed();
|
||||||
|
|
||||||
Log(Logs::Moderate,
|
LogFixZ("Mob::GetFixedZ() ([{}]) returned [{}] at [{}], [{}], [{}] - Took [{}]",
|
||||||
Logs::FixZ,
|
|
||||||
"Mob::GetFixedZ() (%s) returned %4.3f at %4.3f, %4.3f, %4.3f - Took %lf",
|
|
||||||
this->GetCleanName(),
|
this->GetCleanName(),
|
||||||
new_z,
|
new_z,
|
||||||
destination.x,
|
destination.x,
|
||||||
@ -682,11 +680,7 @@ void Mob::FixZ(int32 z_find_offset /*= 5*/, bool fix_client_z /*= false*/) {
|
|||||||
this->SendAppearanceEffect(103, 0, 0, 0, 0);
|
this->SendAppearanceEffect(103, 0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log(Logs::General,
|
LogFixZ("[{}] is failing to find Z [{}]", this->GetCleanName(), std::abs(m_Position.z - new_z));
|
||||||
Logs::FixZ,
|
|
||||||
"%s is failing to find Z %f",
|
|
||||||
this->GetCleanName(),
|
|
||||||
std::abs(m_Position.z - new_z));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user