From e3ee1058bb05edd47321a5554995a1bc78b42289 Mon Sep 17 00:00:00 2001 From: theo3 Date: Sun, 28 Feb 2021 16:54:28 -0800 Subject: create object enum and update entity type struct --- src/createObject.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/createObject.c') diff --git a/src/createObject.c b/src/createObject.c index ad852900..62c67062 100644 --- a/src/createObject.c +++ b/src/createObject.c @@ -10,10 +10,10 @@ Entity* CreateObject(u32 subtype, u32 form, u32 parameter) { ent = GetEmptyEntity(); if (ent != NULL) { - ent->entityType.type = 6; - ent->entityType.subtype = subtype; - ent->entityType.form = form; - ent->entityType.parameter = parameter; + ent->kind = 6; + ent->id = subtype; + ent->type = form; + ent->type2 = parameter; AppendEntityToList(ent, 6); } return ent; -- cgit v1.2.3