mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Fix issue with Mob::MakeNewPositionAndSendUpdate
This commit is contained in:
+1
-1
@@ -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);
|
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);
|
mlog(AI__WAYPOINTS, "BestZ returned %4.3f at %4.3f, %4.3f, %4.3f", newz,x_pos,y_pos,z_pos);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user