summaryrefslogtreecommitdiff
path: root/src/createObject.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2020-06-18 03:21:47 -0700
committertheo3 <arisstephenson2@gmail.com>2020-06-18 03:21:47 -0700
commitf8ae0eaef77d3764b149a4533c6ea8df542eb329 (patch)
tree19dd5feaff6487bf5839a5f57531430af15695ac /src/createObject.c
parent32ad8dec4d1bf3cdd07600802a2f00ad30a416ae (diff)
entity.h fixup
Diffstat (limited to 'src/createObject.c')
-rw-r--r--src/createObject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/createObject.c b/src/createObject.c
index 702107f4..db13f173 100644
--- a/src/createObject.c
+++ b/src/createObject.c
@@ -13,8 +13,8 @@ Entity* CreateObject(u32 subtype, u32 param1, u32 param2)
if (newEnt != NULL) {
(newEnt->entityType).type = 6;
(newEnt->entityType).subtype = subtype;
- (newEnt->entityType).parameter1 = param1;
- (newEnt->entityType).parameter2 = param2;
+ (newEnt->entityType).form = param1;
+ (newEnt->entityType).parameter = param2;
sub_0805EA2C(newEnt, 6);
}
return newEnt;