mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-03 11:12:25 +00:00
Fix issue with Mob::MakeNewPositionAndSendUpdate
This commit is contained in:
parent
5e34b06952
commit
7742892377
@ -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);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user