mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-01 19:42:28 +00:00
Remove an unecessary costly z calc
This commit is contained in:
parent
395cf2e8ce
commit
4a4668b36a
@ -1746,7 +1746,7 @@ void NPC::AI_DoMovement() {
|
|||||||
glm::vec3 Goal = UpdatePath(
|
glm::vec3 Goal = UpdatePath(
|
||||||
roambox_destination_x,
|
roambox_destination_x,
|
||||||
roambox_destination_y,
|
roambox_destination_y,
|
||||||
GetGroundZ(roambox_destination_x, roambox_destination_y),
|
m_Position.z,
|
||||||
move_speed,
|
move_speed,
|
||||||
waypoint_changed,
|
waypoint_changed,
|
||||||
node_reached
|
node_reached
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user