summaryrefslogtreecommitdiff
path: root/src/projectile/mandiblesProjectile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectile/mandiblesProjectile.c')
-rw-r--r--src/projectile/mandiblesProjectile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projectile/mandiblesProjectile.c b/src/projectile/mandiblesProjectile.c
index 200457e6..3bd4e97c 100644
--- a/src/projectile/mandiblesProjectile.c
+++ b/src/projectile/mandiblesProjectile.c
@@ -118,7 +118,7 @@ void MandiblesProjectile_Action2(MandiblesProjectileEntity* this) {
EnqueueSFX(SFX_15D);
}
this->unk_78 = TILE(super->x.HALF.HI, super->y.HALF.HI);
- if (GetTileType(this->unk_78, super->collisionLayer) == SPECIAL_TILE_0) {
+ if (GetTileTypeAtTilePos(this->unk_78, super->collisionLayer) == SPECIAL_TILE_0) {
SetTile(SPECIAL_TILE_5, this->unk_78, super->collisionLayer);
}
}