mirror of
https://github.com/zoriya/Gamacon.git
synced 2026-06-02 03:35:43 +00:00
Renaming the prefab bracket
This commit is contained in:
@@ -22,6 +22,9 @@ int prefab_load(gc_engine *engine, const char *path)
|
||||
if (!engine || !engine->scene)
|
||||
return (-1);
|
||||
n = xml_parse(path);
|
||||
if (!n)
|
||||
return (-1);
|
||||
n = xml_getnode(n, "gc_entities");
|
||||
if (!n)
|
||||
return (-1);
|
||||
for (node *ent_n = n->child; ent_n; ent_n = ent_n->next) {
|
||||
|
||||
Reference in New Issue
Block a user