Fix analog turning rate being half of what it should be

git-svn-id: https://svn.eduke32.com/eduke32@7979 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-08-14 03:03:31 +00:00 committed by Christoph Oelckers
parent ba730be6b6
commit 314eaa7200

View file

@ -2962,7 +2962,7 @@ void P_GetInput(int const playerNum)
else
{
input.q16avel = fix16_div(fix16_from_int(info.mousex), F16(32));
input.q16avel += fix16_from_int(info.dyaw * turnAmount / analogExtent);
input.q16avel += fix16_from_int(info.dyaw * (turnAmount << 1) / analogExtent);
}
if (g_myAimMode)