diff options
| author | Rémi Verschelde | 2017-06-15 18:49:40 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-06-15 20:52:51 +0200 |
| commit | 43a84429ff2fb0ba120f38797dcf313370b3bd18 (patch) | |
| tree | 10eeb765bacb137a72f869bec9da2d79d009af9f /core/math/a_star.cpp | |
| parent | 4f8d9f0915ccf6e337313e7b47adc7487d76e313 (diff) | |
| download | godot-43a84429ff2fb0ba120f38797dcf313370b3bd18.tar.gz godot-43a84429ff2fb0ba120f38797dcf313370b3bd18.tar.zst godot-43a84429ff2fb0ba120f38797dcf313370b3bd18.zip | |
Diffstat (limited to 'core/math/a_star.cpp')
| -rw-r--r-- | core/math/a_star.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/a_star.cpp b/core/math/a_star.cpp index 320990cc5..838fec22f 100644 --- a/core/math/a_star.cpp +++ b/core/math/a_star.cpp @@ -401,7 +401,7 @@ void AStar::_bind_methods() { ClassDB::bind_method(D_METHOD("get_point_weight_scale", "id"), &AStar::get_point_weight_scale); ClassDB::bind_method(D_METHOD("remove_point", "id"), &AStar::remove_point); - ClassDB::bind_method(D_METHOD("connect_points", "id", "to_id"), &AStar::connect_points, DEFVAL(true)); + ClassDB::bind_method(D_METHOD("connect_points", "id", "to_id", "bidirectional"), &AStar::connect_points, DEFVAL(true)); ClassDB::bind_method(D_METHOD("disconnect_points", "id", "to_id"), &AStar::disconnect_points); ClassDB::bind_method(D_METHOD("are_points_connected", "id", "to_id"), &AStar::are_points_connected); |
