summaryrefslogtreecommitdiff
path: root/src/bike.c
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 01:11:44 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 01:11:44 +0100
commit1435c96b41049da3a05ed97d9a07b355aacbac4f (patch)
tree72b638cae542fc16c9785656f3335ff8de00b1ba /src/bike.c
parent3aff112127ddb67882bfce31d046eb886e0aa2c1 (diff)
Further synchronisation
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 6ffd479f7..1fa4eb301 100644
--- a/src/bike.c
+++ b/src/bike.c
@@ -968,7 +968,7 @@ bool8 IsBikingDisallowedByPlayer(void)
s16 x, y;
u8 tileBehavior;
- if (!(gPlayerAvatar.flags & (PLAYER_AVATAR_FLAG_SURFING | PLAYER_AVATAR_FLAG_4)))
+ if (!(gPlayerAvatar.flags & (PLAYER_AVATAR_FLAG_SURFING | PLAYER_AVATAR_FLAG_UNDERWATER)))
{
PlayerGetDestCoords(&x, &y);
tileBehavior = MapGridGetMetatileBehaviorAt(x, y);