summaryrefslogtreecommitdiff
path: root/src/enemy/torchTrap.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 16:14:12 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 16:15:34 +0100
commit06dc15859867c7f2db22ea6e289e28ff12b0b6c9 (patch)
treeae4991dfff60d689953033fb75345cc65628684a /src/enemy/torchTrap.c
parentaced0bef691dbc41bdd39b6e62662d2436877a4b (diff)
Rename vvv to actTile
Diffstat (limited to 'src/enemy/torchTrap.c')
-rw-r--r--src/enemy/torchTrap.c2
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)) {