summaryrefslogtreecommitdiff
path: root/scene/resources/shape_line_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/shape_line_2d.cpp')
-rw-r--r--scene/resources/shape_line_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/shape_line_2d.cpp b/scene/resources/shape_line_2d.cpp
index 4dcc5ac981..d046ce876c 100644
--- a/scene/resources/shape_line_2d.cpp
+++ b/scene/resources/shape_line_2d.cpp
@@ -96,7 +96,7 @@ void LineShape2D::_bind_methods() {
}
LineShape2D::LineShape2D()
- : Shape2D(Physics2DServer::get_singleton()->shape_create(Physics2DServer::SHAPE_LINE)) {
+ : Shape2D(Physics2DServer::get_singleton()->line_shape_create()) {
normal = Vector2(0, -1);
d = 0;