summaryrefslogtreecommitdiff
path: root/src/object/button.c
diff options
context:
space:
mode:
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 ef014914..d72e176f 100644
--- a/src/object/button.c
+++ b/src/object/button.c
@@ -43,7 +43,7 @@ void Button_Init(ButtonEntity* this) {
super->collisionLayer = this->unk_84;
}
this->tilePos = (((super->x.HALF.HI - gRoomControls.origin_x) >> 4) & 0x3F) |
- ((((super->y.HALF.HI - gRoomControls.origin_y) >> 4) & 0x3F) << 6);
+ ((((super->y.HALF.HI - gRoomControls.origin_y) >> 4) & 0x3F) << 6);
this->unk_72 = GetTileTypeAtTilePos(this->tilePos, super->collisionLayer);
if (super->type == 0 && CheckFlags(this->unk_86)) {
super->action = 5;