Skip to content

Commit

Permalink
see previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisSestier committed Aug 1, 2021
1 parent 301f416 commit 3a97226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/antity/core/registry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ namespace ant {
if (newarchetype_id.size() != 0) {
newarchetype = archetype_map_.get(
archetype_key{newarchetype_id, oldarchetype->chunk_id});
entity_index_->at(e).archetype = newarchetype;
entity_index_->at(e).entity_archetype = newarchetype;
entity_index_->at(e).index = newarchetype->entities.size();
newarchetype->entities.push_back(e);
}
Expand Down

0 comments on commit 3a97226

Please sign in to comment.