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:
Ragnvald Maartmann-Moe IV 2000-12-30 20:12:34 +00:00
parent 0348d7c870
commit cef1be9646

View file

@ -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)))