summaryrefslogtreecommitdiff
path: root/src/object/well.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/well.c')
-rw-r--r--src/object/well.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/well.c b/src/object/well.c
index b4b9b962..0e19e21a 100644
--- a/src/object/well.c
+++ b/src/object/well.c
@@ -38,7 +38,7 @@ void Well_Init(WellEntity* this) {
}
void Well_Action1(WellEntity* this) {
- u32 tileIndex = GetTileType(this->unk_80, LAYER_BOTTOM);
+ u32 tileIndex = GetTileTypeAtTilePos(this->unk_80, LAYER_BOTTOM);
if (tileIndex != SPECIAL_TILE_125) {
PausePlayer();
gPlayerEntity.base.x.WORD = super->x.WORD;