summaryrefslogtreecommitdiff
path: root/src/createObject.c
diff options
context:
space:
mode:
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;