summaryrefslogtreecommitdiff
path: root/src/object/objectB2.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-02-12 20:00:08 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2022-02-12 20:03:27 +0100
commitb69a6d223c72bc4b88fef1527225d06854219f34 (patch)
treec6c018bb7e10d4e8a326f057283a91661ecaccf8 /src/object/objectB2.c
parentd6c79aa26346afc85bcfa724d3c086fb06c888dc (diff)
Rename movement functions
Diffstat (limited to 'src/object/objectB2.c')
-rw-r--r--src/object/objectB2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/objectB2.c b/src/object/objectB2.c
index fc5b4a85..bd2c58b5 100644
--- a/src/object/objectB2.c
+++ b/src/object/objectB2.c
@@ -22,7 +22,7 @@ void ObjectB2(Entity* this) {
}
this->speed = this->parent->speed;
LinearMoveUpdate(this);
- if (sub_080AE4CC((u8*)this->child, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) {
+ if (IsTileCollision((u8*)this->child, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) {
DeleteThisEntity();
}
if (this->speed < 0x41) {