Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Oct 30, 2024
1 parent 66f0254 commit 49f311c
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 @@ -160,7 +160,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;
const usize newIndex = (usize)lastEntity;
while (componentManager.componentArrays->size <= newIndex) {
ska_array_list_push_back(componentManager.componentArrays, &(ComponentArray){0});
}
Expand Down

0 comments on commit 49f311c

Please sign in to comment.