summaryrefslogtreecommitdiff
path: root/src/manager/railIntersectionManager.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 14:59:48 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 15:01:44 +0100
commitaced0bef691dbc41bdd39b6e62662d2436877a4b (patch)
treee90f9fd8e4c4c3471c2fb246bb1372974294b469 /src/manager/railIntersectionManager.c
parentc3b771a20923b335bbea2ab97a68ac29d04fcc43 (diff)
Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
Diffstat (limited to 'src/manager/railIntersectionManager.c')
-rw-r--r--src/manager/railIntersectionManager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/manager/railIntersectionManager.c b/src/manager/railIntersectionManager.c
index 88ab4f5a..b06aab83 100644
--- a/src/manager/railIntersectionManager.c
+++ b/src/manager/railIntersectionManager.c
@@ -26,7 +26,7 @@ void RailIntersectionManager_Init(RailIntersectionManager* this) {
super->type2 = 1;
}
super->action = 1;
- this->metaTilePos = (this->metaTilePos >> 4 & 0x3fU) | (((this->field_0x3a << 0x10) >> 0x14 & 0x3fU) << 6);
+ this->tilePos = (this->tilePos >> 4 & 0x3fU) | (((this->field_0x3a << 0x10) >> 0x14 & 0x3fU) << 6);
sub_0805B778(this);
}
@@ -45,7 +45,7 @@ void RailIntersectionManager_Action1(RailIntersectionManager* this) {
}
void sub_0805B778(RailIntersectionManager* this) {
- static const u16 gUnk_08108C9C[] = { META_TILE_TYPE_856, META_TILE_TYPE_857, META_TILE_TYPE_854,
- META_TILE_TYPE_858, META_TILE_TYPE_858, META_TILE_TYPE_855 };
- SetMetaTileType(gUnk_08108C9C[super->type * 2 + super->type2], this->metaTilePos, this->layer);
+ static const u16 gUnk_08108C9C[] = { TILE_TYPE_856, TILE_TYPE_857, TILE_TYPE_854,
+ TILE_TYPE_858, TILE_TYPE_858, TILE_TYPE_855 };
+ SetTileType(gUnk_08108C9C[super->type * 2 + super->type2], this->tilePos, this->layer);
}