summaryrefslogtreecommitdiff
path: root/src/bike.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-03-29 08:56:38 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-03-29 08:56:38 -0400
commit9cfc34f2ec26d45085d9c4006b21406f8f968ed6 (patch)
treeec15c56d3b09c2cec74ac907110c9111e18e8729 /src/bike.c
parenta027218bc68f3951e438da078419aaa09048c885 (diff)
Address review comments
Diffstat (limited to 'src/bike.c')
-rw-r--r--src/bike.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bike.c b/src/bike.c
index 5ec44ec7a..eaa4af2bd 100644
--- a/src/bike.c
+++ b/src/bike.c
@@ -260,7 +260,7 @@ bool8 sub_80BD460(u8 r0)
bool32 IsRunningDisallowed(u8 metatileBehavior)
{
- if (!(gMapHeader.escapeRope & 2)) // wrong name? probably a bitfield.
+ if (!(gMapHeader.flags & MAP_ALLOW_RUN))
return TRUE;
if (sub_80BD4B8(metatileBehavior) != TRUE)
return FALSE;