From c6f6cf593379291581dc80fd11851aba91f701ee Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 19 Mar 2023 22:45:02 +1100 Subject: [PATCH] - Duke/RR: Fix vehicle controller sign that got lost along the way. * Issue from 9d74a5c60bfe2717bb42118eb65bd73f9e708d2e. --- source/games/duke/src/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/input.cpp b/source/games/duke/src/input.cpp index ab2dd98ac..28d3e4a55 100644 --- a/source/games/duke/src/input.cpp +++ b/source/games/duke/src/input.cpp @@ -547,7 +547,7 @@ static float getVehicleTurnVel(player_struct* p, HIDInput* const hidInput, const const bool noattenuate = (isTurboTurnTime() || hidLeft || hidRight) && (!p->OnMotorcycle || p->MotoSpeed > 0); const auto vel = (noattenuate) ? (baseVel) : (baseVel * velScale); - turnvel = vel * hidInput->joyaxes[JOYAXIS_Yaw]; + turnvel = vel * -hidInput->joyaxes[JOYAXIS_Yaw]; if (const auto kbdDir = kbdRight - kbdLeft) {