From 34930ba195b86711ab20f5bb32487341edb98518 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 20 Dec 2022 10:59:26 +0900 Subject: [PATCH] [ecs] Fix a bit of white space --- libs/ecs/entity.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ecs/entity.c b/libs/ecs/entity.c index c7483dad8..e86898d59 100644 --- a/libs/ecs/entity.c +++ b/libs/ecs/entity.c @@ -117,8 +117,7 @@ Ent_RemoveComponent (uint32_t ent, uint32_t comp, ecs_registry_t *registry) component_t *c = ®istry->components.a[comp]; if (ind < pool->count && pool->dense[ind] == ent) { uint32_t last = pool->count - 1; - Component_DestroyElements (c, pool->data, - ind, 1); + Component_DestroyElements (c, pool->data, ind, 1); if (subpool->num_ranges - subpool->available) { uint32_t range_count = subpool->num_ranges - subpool->available; ecs_range_t *range = find_range (subpool, ind);