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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_obstacle_2d.h b/scene/2d/navigation_obstacle_2d.h
index 3935fe1bc5..bdef6f2843 100644
--- a/scene/2d/navigation_obstacle_2d.h
+++ b/scene/2d/navigation_obstacle_2d.h
@@ -38,7 +38,7 @@ class Navigation2D;
class NavigationObstacle2D : public Node {
GDCLASS(NavigationObstacle2D, Node);
- Navigation2D *navigation;
+ Navigation2D *navigation = nullptr;
RID agent;