summaryrefslogtreecommitdiff
path: root/src/object/objectB2.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/objectB2.c
parentf70c95f0373d659683840682d327da3db774659c (diff)
remove redundant unions
Diffstat (limited to 'src/object/objectB2.c')
-rw-r--r--src/object/objectB2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/objectB2.c b/src/object/objectB2.c
index 0888ed38..75150bab 100644
--- a/src/object/objectB2.c
+++ b/src/object/objectB2.c
@@ -19,16 +19,16 @@ void ObjectB2(Entity* this) {
} else {
pEVar3 = &gUnk_02027EB4;
}
- this->attachedEntity = pEVar3;
+ this->child = pEVar3;
InitializeAnimation(this, this->type);
}
this->speed = this->parent->speed;
sub_0806F69C(this);
- if (sub_080AE4CC(this->attachedEntity, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) {
+ if (sub_080AE4CC(this->child, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) {
DeleteThisEntity();
}
if (this->speed < 0x41) {
- this->spriteSettings.b.draw ^= 1;
+ this->spriteSettings.draw ^= 1;
if (--this->actionDelay == 0) {
DeleteThisEntity();