summaryrefslogtreecommitdiff
path: root/src/object/objectB2.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-03-13 01:14:46 -0800
committertheo3 <arisstephenson2@gmail.com>2021-03-13 01:14:46 -0800
commite251d79ffd4ee1c4b10def3ecb41f2d572c63664 (patch)
tree29d22198d60bc4f770ae6eb78d72b2726208d34d /src/object/objectB2.c
parentebf2ede70dad51331a0233baed8cbed42a9c13a4 (diff)
quick fix 🙂
Diffstat (limited to 'src/object/objectB2.c')
-rw-r--r--src/object/objectB2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/objectB2.c b/src/object/objectB2.c
index 4722d2e9..c3eff1eb 100644
--- a/src/object/objectB2.c
+++ b/src/object/objectB2.c
@@ -22,12 +22,12 @@ void ObjectB2(Entity* this) {
this->attachedEntity = pEVar3;
InitializeAnimation(this, this->type);
}
- this->nonPlanarMovement = this->parent->nonPlanarMovement;
+ this->speed = this->parent->speed;
sub_0806F69C(this);
if (sub_080AE4CC(this->attachedEntity, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) {
DeleteThisEntity();
}
- if (this->nonPlanarMovement < 0x41) {
+ if (this->speed < 0x41) {
this->spriteSettings.b.draw ^= 1;
if (--this->actionDelay == 0) {