diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2023-06-17 00:10:00 +0200 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2023-06-17 00:10:00 +0200 |
| commit | c317fe3f18325fec54c0d76df450f132945449f7 (patch) | |
| tree | 553de6f2d0b1a1ed2a988ffb8a306dd3a138e88a /src/object/button.c | |
| parent | 551cb7209393d06e302a5bda489c341f38efd1f3 (diff) | |
Extract KeyValuePairs
Diffstat (limited to 'src/object/button.c')
| -rw-r--r-- | src/object/button.c | 2 |
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; |
