mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
Exclude clients from FixZ to fix fear issues.
This commit is contained in:
parent
2dad087bbd
commit
c2a35bb2e1
@ -884,7 +884,7 @@ void Mob::FixZ(int32 z_find_offset /*= 5*/)
|
||||
glm::vec3 current_loc(m_Position);
|
||||
float new_z=GetFixedZ(current_loc, z_find_offset);
|
||||
|
||||
if (new_z != m_Position.z)
|
||||
if (!IsClient() && new_z != m_Position.z)
|
||||
{
|
||||
if ((new_z > -2000) && new_z != BEST_Z_INVALID) {
|
||||
if (RuleB(Map, MobZVisualDebug))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user