summaryrefslogtreecommitdiff
path: root/scene/2d/collision_object_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/collision_object_2d.h')
-rw-r--r--scene/2d/collision_object_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/collision_object_2d.h b/scene/2d/collision_object_2d.h
index 9463b2c429..f2b7eecc7b 100644
--- a/scene/2d/collision_object_2d.h
+++ b/scene/2d/collision_object_2d.h
@@ -59,7 +59,7 @@ private:
PhysicsServer2D::BodyMode body_mode = PhysicsServer2D::BODY_MODE_STATIC;
struct ShapeData {
- Object *owner = nullptr;
+ ObjectID owner_id;
Transform2D xform;
struct Shape {
Ref<Shape2D> shape;