add entities indexing
This commit is contained in:
@@ -54,6 +54,7 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
||||
EntityDef& def = *entities.defs[name];
|
||||
|
||||
// Generating runtime info
|
||||
def.rt.id = entityDefsIndices.size();
|
||||
entityDefsIndices.push_back(&def);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user