From 41ef8d227f3ce62a396743b50b23144655a5aeb0 Mon Sep 17 00:00:00 2001 From: JugadorXEI Date: Fri, 9 Aug 2024 04:52:02 +0000 Subject: [PATCH] Fix reversed inputs in input display in encore replay --- src/hud/input-display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hud/input-display.cpp b/src/hud/input-display.cpp index ae995e705..31779a7ef 100644 --- a/src/hud/input-display.cpp +++ b/src/hud/input-display.cpp @@ -104,7 +104,7 @@ void K_DrawInputDisplay(float x, float y, INT32 flags, char mode, UINT8 pid, boo (G_PlayerInputAnalog(pid, gc_up, guessinput) - G_PlayerInputAnalog(pid, gc_down, guessinput)) / (float)JOYAXISRANGE, } : Vec2 { - -cmd.turning / (float)KART_FULLTURN, + -cmd.turning * (encoremode ? -1 : 1) / (float)KART_FULLTURN, cmd.throwdir / (float)KART_FULLTURN, };