summaryrefslogtreecommitdiff
path: root/src/objectUtils.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2022-03-28 19:51:32 -0700
committertheo3 <arisstephenson2@gmail.com>2022-03-28 20:10:22 -0700
commit92240d43147dd36ed879ce1084f7ca6e35f1db96 (patch)
tree78a3119e1cd63d4f3333a3cade6cc622cdcb6db1 /src/objectUtils.c
parent755571834d4fc0e21fdd45b065728c87574a3a07 (diff)
name remaining entity fields
Diffstat (limited to 'src/objectUtils.c')
-rw-r--r--src/objectUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objectUtils.c b/src/objectUtils.c
index 048b2559..2640c180 100644
--- a/src/objectUtils.c
+++ b/src/objectUtils.c
@@ -156,7 +156,7 @@ Entity* CreateGroundItem(Entity* parent, u32 form, u32 subtype) {
ent = CreateObjectWithParent(parent, GROUND_ITEM, form, subtype);
if (ent != NULL) {
- ent->actionDelay = 5;
+ ent->timer = 5;
}
return ent;
}
@@ -166,7 +166,7 @@ Entity* CreateGroundItemWithFlags(Entity* parent, u32 form, u32 subtype, u32 fla
ent = CreateObjectWithParent(parent, GROUND_ITEM, form, subtype);
if (ent != NULL) {
- ent->actionDelay = 5;
+ ent->timer = 5;
ent->field_0x86.HWORD = flags;
}
return ent;