diff --git a/core/src/physics_world.c b/core/src/physics_world.c index a2ff7a4..3b328cf 100644 --- a/core/src/physics_world.c +++ b/core/src/physics_world.c @@ -84,7 +84,7 @@ void _internal_physics_narrow_collision() { PhysicsEntity* right = NULL; list_foreach(PhysicsEntity*, left, &_world_bodies) { - for(size_t right_index = 0; right_index < half_end; ++right_index) { + for(size_t right_index = 0; right_index <= half_end; ++right_index) { right = list_at_as(PhysicsEntity, &_world_bodies, right_index); if(left->data == right->data) continue;