Fixed Log message to have correct text and values

This commit is contained in:
Paul Coene 2017-11-17 14:09:19 -05:00
parent 5880593cb1
commit a8427ca610

View File

@ -872,9 +872,8 @@ float Mob::GetFixedZ(glm::vec3 dest, int32 z_find_offset)
auto duration = timer.elapsed();
Log(Logs::Moderate, Logs::FixZ,
"Mob::FixZ() (%s) returned %4.3f at %4.3f, %4.3f, %4.3f - Took %lf",
this->GetCleanName(), new_z, m_Position.x, m_Position.y,
m_Position.z, duration);
"Mob::GetFixedZ() (%s) returned %4.3f at %4.3f, %4.3f, %4.3f - Took %lf",
this->GetCleanName(), new_z, dest.x, dest.y, dest.z, duration);
}
return new_z;