summaryrefslogtreecommitdiff
path: root/src/createObject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/createObject.c')
-rw-r--r--src/createObject.c8
1 files changed, 4 insertions, 4 deletions
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;