From 0b32967c20abe858309b8cbcd6fe327dbda2f0f8 Mon Sep 17 00:00:00 2001 From: Sara Date: Sun, 18 Jun 2023 13:13:35 +0200 Subject: [PATCH] removed requirement for a evt_collision listener from _can_collide --- src/corelib/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/world.c b/src/corelib/world.c index 7476271..a513867 100644 --- a/src/corelib/world.c +++ b/src/corelib/world.c @@ -141,7 +141,7 @@ short _collision_check(const object_t* a, const object_t* b) { static inline short _can_collide(const object_t* object) { - return object->active && object->enabled && object->collider.evt_collision != NULL; + return object->active && object->enabled; } void update_collision() {