summaryrefslogtreecommitdiff
path: root/src/enemy/bombPeahat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemy/bombPeahat.c')
-rw-r--r--src/enemy/bombPeahat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/bombPeahat.c b/src/enemy/bombPeahat.c
index 0178bec3..5993dfb2 100644
--- a/src/enemy/bombPeahat.c
+++ b/src/enemy/bombPeahat.c
@@ -685,7 +685,7 @@ void sub_0802B204(BombPeahatEntity* this) {
bool32 sub_0802B234(BombPeahatEntity* this) {
bool32 ret = FALSE;
- if (GetTileTypeByEntity(super) - 0x1c4 > 1)
+ if (GetTileTypeAtEntity(super) - 0x1c4 > 1)
ret = TRUE;
return ret;
}