diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-01-29 16:21:57 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-01-30 00:32:10 +0200 |
| commit | b4f8429a2c951dbf6b92edd865f6a63c166301cb (patch) | |
| tree | 898ba9d60e688da0ba432f7d70e421c898ea34da /src/coord.c | |
| parent | d34aa9166f5d9f7958e586ae1daee3224eb11fa5 (diff) | |
Use PlayerFlags where possible
Diffstat (limited to 'src/coord.c')
| -rw-r--r-- | src/coord.c | 2 |
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); |
