summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-08 08:48:08 -0500
committermidipix <writeonce@midipix.org>2016-01-08 08:48:08 -0500
commit91ea2cf923f5f365244d457b828f4dbc1c23cc76 (patch)
tree76296d84fe3d6fb500ce10e8efab81faa978d56d /src/logic
parentffe5abef62ceb310e4f42a229f36a7fb100f64a4 (diff)
downloadapimagic-91ea2cf923f5f365244d457b828f4dbc1c23cc76.tar.bz2
apimagic-91ea2cf923f5f365244d457b828f4dbc1c23cc76.tar.xz
struct amgc_entity: add reftype and its initialization bits.
Diffstat (limited to 'src/logic')
-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;