From d93edd7393f5ec2a58efe88ee86f2d37ceada6a1 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 31 Dec 2014 17:49:12 -0500 Subject: [PATCH] Make NPCs less jumpy We actually didn't want that +2.0f --- zone/waypoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/waypoints.cpp b/zone/waypoints.cpp index 72172a53c..da5ecb7bc 100644 --- a/zone/waypoints.cpp +++ b/zone/waypoints.cpp @@ -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); - 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);