diff options
| author | Bojidar Marinov | 2017-10-20 16:55:47 +0300 |
|---|---|---|
| committer | Bojidar Marinov | 2017-10-20 16:55:47 +0300 |
| commit | a6472d034429b202f16b86c2ee20b2066aa90026 (patch) | |
| tree | e6aa9c90e42854f9a8f3fc8b613e1bf4aa7c613b /scene/2d/navigation_polygon.cpp | |
| parent | f52ab8d86418a67ddee247ed7765e72935b0c57f (diff) | |
| download | godot-a6472d034429b202f16b86c2ee20b2066aa90026.tar.gz godot-a6472d034429b202f16b86c2ee20b2066aa90026.tar.zst godot-a6472d034429b202f16b86c2ee20b2066aa90026.zip | |
Diffstat (limited to 'scene/2d/navigation_polygon.cpp')
| -rw-r--r-- | scene/2d/navigation_polygon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_polygon.cpp b/scene/2d/navigation_polygon.cpp index 352ec3b30..35f94bff5 100644 --- a/scene/2d/navigation_polygon.cpp +++ b/scene/2d/navigation_polygon.cpp @@ -329,7 +329,7 @@ void NavigationPolygonInstance::_notification(int p_what) { break; } - c = Object::cast_to<Node2D>(get_parent()); + c = Object::cast_to<Node2D>(c->get_parent()); } } break; |
