summaryrefslogtreecommitdiff
path: root/src/object/lightableSwitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/lightableSwitch.c')
-rw-r--r--src/object/lightableSwitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/lightableSwitch.c b/src/object/lightableSwitch.c
index ba0ba466..e53e313b 100644
--- a/src/object/lightableSwitch.c
+++ b/src/object/lightableSwitch.c
@@ -91,7 +91,7 @@ static void sub_0809EAD8(Entity* this) {
UpdateRailMovement(this, (u16**)&this->child, &this->field_0x74.HWORD);
} else {
- SetTile(0x4050, COORD_TO_TILE(this), this->collisionLayer);
+ SetMetaTile(0x4050, COORD_TO_TILE(this), this->collisionLayer);
}
}