|
@@ -559,7 +559,7 @@ public:
|
|
|
|
|
|
|
|
entt = entities.emplace_back(hint);
|
|
entt = entities.emplace_back(hint);
|
|
|
} else if(const auto curr = (to_integral(entities[req]) & traits_type::entity_mask); req == curr) {
|
|
} else if(const auto curr = (to_integral(entities[req]) & traits_type::entity_mask); req == curr) {
|
|
|
- entt = create();
|
|
|
|
|
|
|
+ entt = generate();
|
|
|
} else {
|
|
} else {
|
|
|
auto *it = &destroyed;
|
|
auto *it = &destroyed;
|
|
|
for(; (to_integral(*it) & traits_type::entity_mask) != req; it = &entities[to_integral(*it) & traits_type::entity_mask]);
|
|
for(; (to_integral(*it) & traits_type::entity_mask) != req; it = &entities[to_integral(*it) & traits_type::entity_mask]);
|