summaryrefslogtreecommitdiff
path: root/src/object/objectA8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/objectA8.c')
-rw-r--r--src/object/objectA8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/objectA8.c b/src/object/objectA8.c
index c1a5193a..fbba13c3 100644
--- a/src/object/objectA8.c
+++ b/src/object/objectA8.c
@@ -21,7 +21,7 @@ void ObjectA8(Entity* this) {
case 0x1e:
case 0x1f:
this->action = 5;
- this->attachedEntity = &gPlayerEntity;
+ this->child = &gPlayerEntity;
CreateItemEntity(this->type, 0, 0);
DeleteThisEntity();
}