summaryrefslogtreecommitdiff
path: root/src/object/object1C.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/object1C.c
parentf70c95f0373d659683840682d327da3db774659c (diff)
remove redundant unions
Diffstat (limited to 'src/object/object1C.c')
-rw-r--r--src/object/object1C.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/object1C.c b/src/object/object1C.c
index 3bd9af76..be2289cb 100644
--- a/src/object/object1C.c
+++ b/src/object/object1C.c
@@ -13,7 +13,7 @@ void Object1C(Entity* this) {
this->action = 1;
}
if (CheckRectOnScreen(this->field_0x80.HWORD, this->field_0x82.HWORD, 0x10, 0x10) == 0) {
- this->parent->hVelocity &= ~(1 << this->type2);
+ this->parent->zVelocity &= ~(1 << this->type2);
DeleteThisEntity();
}
}