Fix typo in ecs
This commit is contained in:
parent
c68418e868
commit
0bfedccc7b
2 changed files with 4 additions and 4 deletions
|
|
@ -396,7 +396,7 @@ namespace psemek::ecs
|
|||
detail::table * insert_table(std::vector<std::unique_ptr<detail::column>> columns);
|
||||
void do_destroy(handle entity);
|
||||
void remove_row(detail::table & table, std::uint32_t row, util::span<detail::entity_data> entities);
|
||||
void finilize_iteration(detail::table & table);
|
||||
void finalize_iteration(detail::table & table);
|
||||
};
|
||||
|
||||
template <typename Component>
|
||||
|
|
@ -592,7 +592,7 @@ namespace psemek::ecs
|
|||
}
|
||||
|
||||
iteration_data.reset();
|
||||
finilize_iteration(*entry.table);
|
||||
finalize_iteration(*entry.table);
|
||||
}
|
||||
|
||||
return cache;
|
||||
|
|
@ -624,7 +624,7 @@ namespace psemek::ecs
|
|||
apply_helper.batch_apply(function);
|
||||
|
||||
iteration_data.reset();
|
||||
finilize_iteration(*entry.table);
|
||||
finalize_iteration(*entry.table);
|
||||
}
|
||||
|
||||
return cache;
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace psemek::ecs
|
|||
entities[swap_handle.id].row = row;
|
||||
}
|
||||
|
||||
void container::finilize_iteration(detail::table & table)
|
||||
void container::finalize_iteration(detail::table & table)
|
||||
{
|
||||
auto remove_queue = table.grab_remove_queue();
|
||||
std::sort(remove_queue.begin(), remove_queue.end());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue