mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-09 11:21:34 +00:00
eaa4aa46ce
Like most other cvars 'sensitivity' allowes for float values. But until now mouse events were handled as integers which led to some confusing problems. This was especially noticeable at values lower than 1, small mouse movements were cut to 0 and discarded. Since the clients movement code is written in floats and we're already using floats for joystick movement switch the mouse event handling over to them, too. This should have any impact on configs were 'sensitivity' is ste to integral values. If it was set to decimal values the behaviour is now correct. This fixes #419. |
||
---|---|---|
.. | ||
header | ||
sdl.c |