summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logic/amgc_unit_entities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/amgc_unit_entities.c b/src/logic/amgc_unit_entities.c
index c86c1bc..e5b9000 100644
--- a/src/logic/amgc_unit_entities.c
+++ b/src/logic/amgc_unit_entities.c
@@ -125,7 +125,7 @@ int amgc_get_unit_entities(
break;
case ENTITY_TYPEDEF:
- uentities->typedefs[meta->ntypedefs++].entity = entity;
+ uentities->typedefs[meta->ntypedefs].entity = entity;
meta->ntypedefs++;
break;