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/object/smokeParticle.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/object/smokeParticle.c')
| -rw-r--r-- | src/object/smokeParticle.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/object/smokeParticle.c b/src/object/smokeParticle.c index ea454822..91145f3d 100644 --- a/src/object/smokeParticle.c +++ b/src/object/smokeParticle.c @@ -63,22 +63,22 @@ void sub_080878CC(Entity* this) { s32 itX; s32 itY; u32 layer; - u32 metaTilePos; + u32 tilePos; x = this->x.HALF.HI; y = this->y.HALF.HI; layer = this->collisionLayer; for (itX = -0x10; itX < 0x11; itX += 0x10) { for (itY = -0x10; itY < 0x11; itY += 0x10) { - metaTilePos = TILE((u32)x + itX, (u32)y + itY); - if (GetVvvAtMetaTilePos(metaTilePos, (u8)layer) == VVV_46) { - switch (GetMetaTileType(metaTilePos, layer)) { + tilePos = TILE((u32)x + itX, (u32)y + itY); + if (GetVvvAtTilePos(tilePos, (u8)layer) == VVV_46) { + switch (GetTileType(tilePos, layer)) { case 0x368: case 0x367: DoTileInteraction(this, 3, x + itX, y + itY); break; default: - SetMetaTile(SPECIAL_META_TILE_34, metaTilePos, layer); + SetTile(SPECIAL_TILE_34, tilePos, layer); break; } } else { |
