diff --git a/game/src/Prop.c b/game/src/Prop.c index ae3bd44..c20c940 100644 --- a/game/src/Prop.c +++ b/game/src/Prop.c @@ -13,7 +13,7 @@ Prop* MakeProp(Sprite* sprite, Shape* shape) { .collisionShape = NULL }; self->rigidbody = rigidbody_make(Prop_as_Transformable(self)); - self->collisionShape = collider_new(self->rigidbody, shape, 0, 0x1); + self->collisionShape = collider_new(Prop_as_PhysicsEntity(self), shape, 0, PHYSICS_LAYER_DEFAULT); rigidbody_set_static(self->rigidbody, 1); sprite_set_origin(self->sprite, MakeVector(0.5f, 1.0f)); return self;