mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Fix mouse input truncation with non-integral sensitivity
This commit is contained in:
parent
c5a45e7e58
commit
32b1ebb828
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue