Fix mouse input truncation with non-integral sensitivity

This commit is contained in:
Andrei Drexler 2022-03-11 23:55:10 +03:00 committed by Ozkan Sezer
parent c5a45e7e58
commit 32b1ebb828
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ void IN_JoyMove (usercmd_t *cmd)
void IN_MouseMove(usercmd_t *cmd)
{
int dmx, dmy;
float dmx, dmy;
dmx = total_dx * sensitivity.value;
dmy = total_dy * sensitivity.value;