Added 0.1 to calculated Z so that objects show better above ground

This commit is contained in:
Joshua Packard
2016-10-10 09:39:55 -07:00
committed by GitHub
parent 379ef7eed3
commit a5b19d0c0d
+1 -1
View File
@@ -460,7 +460,7 @@ void Object::RandomSpawn(bool send_packet) {
glm::vec3 hit;
float best_z = zone->zonemap->FindClosestZ(me, &hit);
if (best_z != BEST_Z_INVALID) {
m_data.z = best_z;
m_data.z = best_z + 0.1f;
}
}