summaryrefslogtreecommitdiff
path: root/src/object/button.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-06-17 00:10:00 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2023-06-17 00:10:00 +0200
commitc317fe3f18325fec54c0d76df450f132945449f7 (patch)
tree553de6f2d0b1a1ed2a988ffb8a306dd3a138e88a /src/object/button.c
parent551cb7209393d06e302a5bda489c341f38efd1f3 (diff)
Extract KeyValuePairs
Diffstat (limited to 'src/object/button.c')
-rw-r--r--src/object/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/button.c b/src/object/button.c
index 42233657..ff68caba 100644
--- a/src/object/button.c
+++ b/src/object/button.c
@@ -154,7 +154,7 @@ u32 sub_08081E0C(Entity*);
Entity* sub_08081D74(Entity* this) {
Entity* ent;
- if (GetCollisionData(this->field_0x74.HWORD, this->collisionLayer) == 0xF) {
+ if (GetCollisionDataAtMetaTilePos(this->field_0x74.HWORD, this->collisionLayer) == 0xF) {
return 0;
}
ent = 0;