Fix mouse input truncation with non-integral sensitivity
This commit is contained in:
parent
c5a45e7e58
commit
32b1ebb828
|
@ -700,7 +700,7 @@ void IN_JoyMove (usercmd_t *cmd)
|
||||||
|
|
||||||
void IN_MouseMove(usercmd_t *cmd)
|
void IN_MouseMove(usercmd_t *cmd)
|
||||||
{
|
{
|
||||||
int dmx, dmy;
|
float dmx, dmy;
|
||||||
|
|
||||||
dmx = total_dx * sensitivity.value;
|
dmx = total_dx * sensitivity.value;
|
||||||
dmy = total_dy * sensitivity.value;
|
dmy = total_dy * sensitivity.value;
|
||||||
|
|
Loading…
Reference in New Issue