diff options
| author | Kiloku <mateus.sateles@protonmail.com> | 2024-12-28 23:00:54 -0300 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-12-30 10:11:04 -0600 |
| commit | ca3593e1609740ed2f2c42d4c8825b25044de07a (patch) | |
| tree | e7a84a2ab70d4febc8ab7f68cc97686b20c2341a /src/engine/fox_play.c | |
| parent | 4c2129a1e5b08a22da107cc5422f7ddf89b1ccc4 (diff) | |
Flip the equality check
Diffstat (limited to 'src/engine/fox_play.c')
| -rw-r--r-- | src/engine/fox_play.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/fox_play.c b/src/engine/fox_play.c index b67774af..a0f50a41 100644 --- a/src/engine/fox_play.c +++ b/src/engine/fox_play.c @@ -3700,7 +3700,7 @@ void Player_MoveArwing360(Player* player) { sp7C = -gInputPress->stick_x; - sp78 = gInputPress->stick_y * (CVarGetInteger("gInvertYAxis", 0) == 0 ? 1 : -1); + sp78 = gInputPress->stick_y * (CVarGetInteger("gInvertYAxis", 0) == 1 ? -1 : 1); Math_SmoothStepToAngle(&player->aerobaticPitch, 0.0f, 0.1f, 5.0f, 0.01f); Matrix_RotateZ(gCalcMatrix, -player->zRotBank * M_DTOR, MTXF_NEW); @@ -3946,7 +3946,7 @@ void Player_MoveArwingOnRails(Player* player) { } stickX = -gInputPress->stick_x; - stickY = gInputPress->stick_y * (CVarGetInteger("gInvertYAxis", 0) == 0 ? 1 : -1); + stickY = gInputPress->stick_y * (CVarGetInteger("gInvertYAxis", 0) == 1 ? -1 : 1); Math_SmoothStepToAngle(&player->aerobaticPitch, 0.0f, 0.1f, 5.0f, 0.01f); |
