From 7e6606b34de0d8d5ca582ae112271508718e2b9b Mon Sep 17 00:00:00 2001 From: kafeijao Date: Thu, 2 Mar 2023 18:50:01 +0000 Subject: [PATCH] Fixed inverted controls when airborne --- src/decomp/game/mario_actions_airborne.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decomp/game/mario_actions_airborne.c b/src/decomp/game/mario_actions_airborne.c index 54450ba..804ac5a 100644 --- a/src/decomp/game/mario_actions_airborne.c +++ b/src/decomp/game/mario_actions_airborne.c @@ -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) { @@ -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) {