From ab4c18a73a7b396506dca17e8305941df44f905a Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 22 Apr 2021 08:58:17 +1000 Subject: [PATCH] - `processMovement()`: Remove attenuation of `hidInput->dyaw` that was missed when scaling was removed from backend in 44e4c5ff786dcdca0725e3ab8bdff2feece0447e. --- source/core/gameinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/gameinput.cpp b/source/core/gameinput.cpp index bbd8b0968..3e10991ab 100644 --- a/source/core/gameinput.cpp +++ b/source/core/gameinput.cpp @@ -158,7 +158,7 @@ void processMovement(InputPacket* currInput, InputPacket* inputBuffer, ControlIn // process mouse and initial controller input. if (buttonMap.ButtonDown(gamefunc_Strafe) && allowstrafe) - currInput->svel -= xs_CRoundToInt((hidInput->mousemovex * mousevelscale) + (scaleAdjust * (hidInput->dyaw / 60) * keymove * cntrlvelscale)); + currInput->svel -= xs_CRoundToInt((hidInput->mousemovex * mousevelscale) + (scaleAdjust * hidInput->dyaw * keymove * cntrlvelscale)); else currInput->avel += hidInput->mouseturnx + (scaleAdjust * hidInput->dyaw * hidspeed * turnscale);