diff options
Diffstat (limited to 'src/enemy/torchTrap.c')
| -rw-r--r-- | src/enemy/torchTrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/torchTrap.c b/src/enemy/torchTrap.c index 799cb4ae..e34e2caa 100644 --- a/src/enemy/torchTrap.c +++ b/src/enemy/torchTrap.c @@ -76,7 +76,7 @@ void sub_0803CF38(TorchTrapEntity* this) { } void sub_0803CF94(TorchTrapEntity* this) { - if (GetTileType(this->tilePos, super->collisionLayer) == TILE_TYPE_118) { + if (GetTileTypeAtTilePos(this->tilePos, super->collisionLayer) == TILE_TYPE_118) { this->unk_80 = 0; TorchTrap_Reset(this); } else if (this->unk_7c && sub_0803CFD8(this)) { |
