Skip to content

Commit

Permalink
Clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Oct 29, 2024
1 parent 1563fbd commit 66f0254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seika/ecs/component.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ SkaComponentType ska_ecs_component_manager_get_component_signature(SkaEntity ent
void ska_ecs_component_manager_reserve(SkaEntity lastEntity) {
// Add to component array if entity exceeds size
usize newIndex = (usize)lastEntity;
while (componentManager.componentArrays->size < newIndex) {
while (componentManager.componentArrays->size <= newIndex) {
ska_array_list_push_back(componentManager.componentArrays, &(ComponentArray){0});
}
}
Expand Down

0 comments on commit 66f0254

Please sign in to comment.