From 7742892377ba3a3370b34381e5b0cfedd462fe1c Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Tue, 23 Dec 2014 22:26:22 -0500 Subject: [PATCH] Fix issue with Mob::MakeNewPositionAndSendUpdate --- zone/waypoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/waypoints.cpp b/zone/waypoints.cpp index e2604a3af..889848723 100644 --- a/zone/waypoints.cpp +++ b/zone/waypoints.cpp @@ -694,7 +694,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) + 2.0f; mlog(AI__WAYPOINTS, "BestZ returned %4.3f at %4.3f, %4.3f, %4.3f", newz,x_pos,y_pos,z_pos);