Skip to content

Commit

Permalink
Fix Acro Bike wheelie freeze
Browse files Browse the repository at this point in the history
Thanks to RichterSnipes.
  • Loading branch information
LOuroboros committed Sep 17, 2021
1 parent ab27f6f commit 754991e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/field_control_avatar.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ int ProcessPlayerFieldInput(struct FieldInput *input)

if (input->pressedRButton && TestPlayerAvatarFlags(PLAYER_AVATAR_FLAG_MACH_BIKE | PLAYER_AVATAR_FLAG_ACRO_BIKE))
{
ObjectEventClearHeldMovementIfActive(&gObjectEvents[gPlayerAvatar.objectEventId]);
if (gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_MACH_BIKE)
{
gPlayerAvatar.flags -= PLAYER_AVATAR_FLAG_MACH_BIKE;
Expand Down

0 comments on commit 754991e

Please sign in to comment.