summaryrefslogtreecommitdiff
path: root/src/physics.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/physics.c
parentc3b771a20923b335bbea2ab97a68ac29d04fcc43 (diff)
Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
Diffstat (limited to 'src/physics.c')
-rw-r--r--src/physics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/physics.c b/src/physics.c
index d4c1e9ab..80401e6a 100644
--- a/src/physics.c
+++ b/src/physics.c
@@ -233,8 +233,8 @@ bool32 sub_0806F854(Entity* ent, s32 x, s32 y) {
bool32 sub_0806F8DC(Entity* ent) {
if (ent->collisionLayer & 2)
return FALSE;
- if (!GetMetaTileTypeByPos(ent->x.HALF.HI, ent->y.HALF.HI - 4, 2)) {
- GetMetaTileTypeByPos(ent->x.HALF.HI, ent->y.HALF.HI - 4, ent->collisionLayer);
+ if (!GetTileTypeByPos(ent->x.HALF.HI, ent->y.HALF.HI - 4, 2)) {
+ GetTileTypeByPos(ent->x.HALF.HI, ent->y.HALF.HI - 4, ent->collisionLayer);
ent->spriteRendering.b3 = 1;
ent->spriteOrientation.flipY = 1;
return FALSE;