Skip to content

Commit

Permalink
unflip wing cap controls
Browse files Browse the repository at this point in the history
  • Loading branch information
headshot2017 committed Jan 13, 2024
1 parent 91a1058 commit 47d50d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decomp/game/mario_actions_airborne.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void update_lava_boost_or_twirling(struct MarioState *m) {
}

void update_flying_yaw(struct MarioState *m) {
s16 targetYawVel = -(s16)(m->controller->stickX * (m->forwardVel / 4.0f));
s16 targetYawVel = (s16)(m->controller->stickX * (m->forwardVel / 4.0f));

if (targetYawVel > 0) {
if (m->angleVel[1] < 0) {
Expand Down Expand Up @@ -306,7 +306,7 @@ void update_flying_yaw(struct MarioState *m) {
}

void update_flying_pitch(struct MarioState *m) {
s16 targetPitchVel = -(s16)(m->controller->stickY * (m->forwardVel / 5.0f));
s16 targetPitchVel = (s16)(m->controller->stickY * (m->forwardVel / 5.0f));

if (targetPitchVel > 0) {
if (m->angleVel[0] < 0) {
Expand Down

0 comments on commit 47d50d0

Please sign in to comment.