summaryrefslogtreecommitdiff
path: root/src/enemy/wallMaster2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemy/wallMaster2.c')
-rw-r--r--src/enemy/wallMaster2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/wallMaster2.c b/src/enemy/wallMaster2.c
index c8e42f45..2efd2c12 100644
--- a/src/enemy/wallMaster2.c
+++ b/src/enemy/wallMaster2.c
@@ -125,7 +125,7 @@ void sub_0802CE68(Entity* this) {
gPlayerState.field_0xa |= 0x80;
gPlayerState.mobility |= 0x80;
gPlayerState.flags |= PL_DISABLE_ITEMS;
- if (!isEntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 4)) {
+ if (!EntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 4)) {
this->direction = GetFacingDirection(this, &gPlayerEntity);
LinearMoveUpdate(this);
}