mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Make NPCs less jumpy
We actually didn't want that +2.0f
This commit is contained in:
parent
16a8d15909
commit
d93edd7393
@ -696,7 +696,7 @@ bool Mob::MakeNewPositionAndSendUpdate(float x, float y, float z, float speed, b
|
|||||||
{
|
{
|
||||||
Map::Vertex dest(x_pos, y_pos, z_pos);
|
Map::Vertex dest(x_pos, y_pos, z_pos);
|
||||||
|
|
||||||
float newz = zone->zonemap->FindBestZ(dest, nullptr) + 2.0f;
|
float newz = zone->zonemap->FindBestZ(dest, nullptr);
|
||||||
|
|
||||||
mlog(AI__WAYPOINTS, "BestZ returned %4.3f at %4.3f, %4.3f, %4.3f", newz,x_pos,y_pos,z_pos);
|
mlog(AI__WAYPOINTS, "BestZ returned %4.3f at %4.3f, %4.3f, %4.3f", newz,x_pos,y_pos,z_pos);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user