summaryrefslogtreecommitdiff
path: root/src/code_080A29BC.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_080A29BC.c')
-rw-r--r--src/code_080A29BC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_080A29BC.c b/src/code_080A29BC.c
index e9d5e763..bb9d1701 100644
--- a/src/code_080A29BC.c
+++ b/src/code_080A29BC.c
@@ -52,7 +52,7 @@ Entity * sub_080A2A3C(Entity *parent, u32 form, u32 subtype, u32 param_4)
ent = CreateObjectWithParent(parent, 0, form, subtype);
if (ent != NULL) {
ent->actionDelay = 5;
- ent->field_0x86 = param_4;
+ *(u32*)(&ent->field_0x86) = param_4;
}
return ent;
}