summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_obstacle_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/navigation_obstacle_2d.h')
-rw-r--r--scene/2d/navigation_obstacle_2d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/2d/navigation_obstacle_2d.h b/scene/2d/navigation_obstacle_2d.h
index 2a0ef14e73..afda05956a 100644
--- a/scene/2d/navigation_obstacle_2d.h
+++ b/scene/2d/navigation_obstacle_2d.h
@@ -39,6 +39,7 @@ class NavigationObstacle2D : public Node {
Node2D *parent_node2d = nullptr;
RID agent;
+ RID map_before_pause;
bool estimate_radius = true;
real_t radius = 1.0;
@@ -73,4 +74,4 @@ private:
real_t estimate_agent_radius() const;
};
-#endif
+#endif // NAVIGATION_OBSTACLE_2D_H