File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -337,9 +337,9 @@ namespace ecsact_entt_rt {
337
337
}
338
338
339
339
void generate
340
- ( int component_count
341
- , ecsact_component_like_id * component_ids
342
- , const void ** components_data
340
+ ( int component_count
341
+ , ecsact_component_id * component_ids
342
+ , const void ** components_data
343
343
)
344
344
{
345
345
using boost::mp11::mp_for_each;
@@ -351,7 +351,7 @@ namespace ecsact_entt_rt {
351
351
auto component_id = component_ids[i];
352
352
auto component_data = components_data[i];
353
353
mp_for_each<typename package::components>([&]<typename C>(const C&) {
354
- if (ecsact_id_cast<ecsact_component_like_id>( C::id) == component_id) {
354
+ if (C::id == component_id) {
355
355
if constexpr (std::is_empty_v<C>) {
356
356
info.registry .template emplace <pending_add<C>>(new_entity);
357
357
} else {
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ bool ecsact_system_execution_context_same
127
127
void ecsact_system_execution_context_generate
128
128
( ecsact_system_execution_context* context
129
129
, int component_count
130
- , ecsact_component_like_id* component_ids
130
+ , ecsact_component_id* component_ids
131
131
, const void ** components_data
132
132
)
133
133
{
You can’t perform that action at this time.
0 commit comments