mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
[ecs] Fix a bit of white space
This commit is contained in:
parent
d67b8cdf05
commit
34930ba195
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue