summaryrefslogtreecommitdiff
path: root/src/coord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coord.c')
-rw-r--r--src/coord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coord.c b/src/coord.c
index ef5f2c12..cc4bdaa1 100644
--- a/src/coord.c
+++ b/src/coord.c
@@ -512,7 +512,7 @@ void sub_0806FD3C(Entity* this) {
bool32 sub_0806FD54(Entity* this) {
u32 rv;
- if ((gPlayerState.flags & 0x800000) == 0) {
+ if ((gPlayerState.flags & PL_USE_LANTERN) == 0) {
rv = 0;
} else {
rv = EntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI - 9, 0x48);