removed requirement for a evt_collision listener from _can_collide
parent
8ae7d302fe
commit
0b32967c20
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue