Commit 1b9ee826 authored by Adam Jones's avatar Adam Jones
Browse files

Bug fix for horizontal gamepad input

parent 12086fff
Pipeline #16 failed with stage
......@@ -3118,7 +3118,7 @@ void P_GetInput(int const playerNum)
else
{
input.q16avel = fix16_sadd(input.q16avel, fix16_sdiv(fix16_from_int(info.mousex), F16(32)));
input.q16avel = fix16_sadd(input.q16avel, fix16_from_int(info.dyaw / analogExtent * (analogTurnAmount << 1)));
input.q16avel = fix16_sadd(input.q16avel, fix16_from_int(info.dyaw) / analogExtent * (analogTurnAmount << 1));
}
if (g_myAimMode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment