summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/amgc_unit_entities.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/amgc_unit_entities.c b/src/logic/amgc_unit_entities.c
index 4309d89..233c9ec 100644
--- a/src/logic/amgc_unit_entities.c
+++ b/src/logic/amgc_unit_entities.c
@@ -135,6 +135,7 @@ int amgc_get_unit_entities(
ptrdepth++;
uentities->typedefs[meta->ntypedefs].entity = entity;
+ uentities->typedefs[meta->ntypedefs].reftype = etype;
uentities->typedefs[meta->ntypedefs].ptrdepth = ptrdepth;
meta->ntypedefs++;
break;