diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2024-01-06 14:59:48 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2024-01-06 15:01:44 +0100 |
| commit | aced0bef691dbc41bdd39b6e62662d2436877a4b (patch) | |
| tree | e90f9fd8e4c4c3471c2fb246bb1372974294b469 /src/manager/railIntersectionManager.c | |
| parent | c3b771a20923b335bbea2ab97a68ac29d04fcc43 (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.c | 8 |
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); } |
