mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-31 22:00:46 +00:00
Duke3d: fix stupid input scaling bug
This commit is contained in:
parent
996ab77cf4
commit
b21a4d5880
1 changed files with 1 additions and 1 deletions
|
@ -3113,7 +3113,7 @@ void P_GetInput(int const playerNum)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
input.q16avel = fix16_sadd(input.q16avel, fix16_sdiv(fix16_from_int(info.mousex), F16(32)));
|
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 * analogTurnAmount / (analogExtent >> 1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mouseaim)
|
if (mouseaim)
|
||||||
|
|
Loading…
Reference in a new issue