summaryrefslogtreecommitdiffstats
path: root/scene/3d/navigation_agent_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/navigation_agent_3d.cpp')
-rw-r--r--scene/3d/navigation_agent_3d.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/3d/navigation_agent_3d.cpp b/scene/3d/navigation_agent_3d.cpp
index dff413f5d2..5bbb724e2f 100644
--- a/scene/3d/navigation_agent_3d.cpp
+++ b/scene/3d/navigation_agent_3d.cpp
@@ -737,8 +737,6 @@ void NavigationAgent3D::_update_navigation() {
return;
}
- update_frame_id = Engine::get_singleton()->get_physics_frames();
-
Vector3 origin = agent_parent->get_global_position();
bool reload_path = false;
@@ -835,7 +833,6 @@ void NavigationAgent3D::_request_repath() {
target_reached = false;
navigation_finished = false;
last_waypoint_reached = false;
- update_frame_id = 0;
}
bool NavigationAgent3D::_is_last_waypoint() const {