mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-16 16:41:30 +00:00
Make multipliers consistent for mouse motion. One part was using -sdl client version, other -sgl. Now both use -sgl. Whee...
This commit is contained in:
parent
0348d7c870
commit
cef1be9646
1 changed files with 2 additions and 2 deletions
|
@ -296,8 +296,8 @@ IN_SendKeyEvents (void)
|
|||
if ((event.motion.x != (vid.width / 2))
|
||||
|| (event.motion.y != (vid.height / 2))) {
|
||||
// *2 for vid_sdl.c, *10 for vid_sgl.c.
|
||||
mouse_x = event.motion.xrel * 2;
|
||||
mouse_y = event.motion.yrel * 2;
|
||||
mouse_x = event.motion.xrel * 10;
|
||||
mouse_y = event.motion.yrel * 10;
|
||||
if (
|
||||
(event.motion.x <
|
||||
((vid.width / 2) - (vid.width / 4)))
|
||||
|
|
Loading…
Reference in a new issue