Skip to content

Commit

Permalink
- processMovement(): Remove attenuation of hidInput->dyaw that wa…
Browse files Browse the repository at this point in the history
…s missed when scaling was removed from backend in 44e4c5f.
  • Loading branch information
mjr4077au committed Apr 21, 2021
1 parent 31a75b4 commit ab4c18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/gameinput.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit ab4c18a

Please sign in to comment.