Remove an unecessary costly z calc

This commit is contained in:
Akkadius 2018-09-03 03:54:15 -05:00
parent 395cf2e8ce
commit 4a4668b36a

View File

@ -1746,7 +1746,7 @@ void NPC::AI_DoMovement() {
glm::vec3 Goal = UpdatePath(
roambox_destination_x,
roambox_destination_y,
GetGroundZ(roambox_destination_x, roambox_destination_y),
m_Position.z,
move_speed,
waypoint_changed,
node_reached