mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-07 23:52:24 +00:00
Added 0.1 to calculated Z so that objects show better above ground
This commit is contained in:
parent
379ef7eed3
commit
a5b19d0c0d
@ -460,7 +460,7 @@ void Object::RandomSpawn(bool send_packet) {
|
|||||||
glm::vec3 hit;
|
glm::vec3 hit;
|
||||||
float best_z = zone->zonemap->FindClosestZ(me, &hit);
|
float best_z = zone->zonemap->FindClosestZ(me, &hit);
|
||||||
if (best_z != BEST_Z_INVALID) {
|
if (best_z != BEST_Z_INVALID) {
|
||||||
m_data.z = best_z;
|
m_data.z = best_z + 0.1f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user