summaryrefslogtreecommitdiff
path: root/src/object/objectA8.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-11-12 01:34:34 -0800
committertheo3 <arisstephenson2@gmail.com>2021-11-12 01:34:34 -0800
commitecc8a1439ddeedd458af5427711e07e146ed4612 (patch)
treeefe4f755b15c985ecba9c4a0ad7e3759cd510e3d /src/object/objectA8.c
parentf70c95f0373d659683840682d327da3db774659c (diff)
remove redundant unions
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();
}