mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
SW: fix stupid input scaling bug
This commit is contained in:
parent
c5e4c9631d
commit
1c79e6e17c
1 changed files with 1 additions and 1 deletions
|
@ -3219,7 +3219,7 @@ void getinput(int const playerNum)
|
|||
else
|
||||
{
|
||||
input.q16avel = fix16_sadd(input.q16avel, fix16_sdiv(fix16_from_int(info.mousex), fix16_from_int(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)
|
||||
|
|
Loading…
Reference in a new issue