removed requirement for a evt_collision listener from _can_collide

pull/6/head
Sara 2023-06-18 13:13:35 +02:00
parent 8ae7d302fe
commit 0b32967c20
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ short _collision_check(const object_t* a, const object_t* b) {
static inline static inline
short _can_collide(const object_t* object) { 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() { void update_collision() {