From 11f65cc599c342893d4f459057ae2876cdedf0ff Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 6 Jul 2001 00:19:52 +0000 Subject: [PATCH] double d'oh --- source/in_x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/in_x11.c b/source/in_x11.c index 30b6b1c..5f519ca 100644 --- a/source/in_x11.c +++ b/source/in_x11.c @@ -560,6 +560,9 @@ IN_Init (void) X11_AddEvent (ButtonPress, &event_button); X11_AddEvent (ButtonRelease, &event_button); X11_AddEvent (MotionNotify, &event_motion); + + mouse_x = mouse_y = 0.0; + mouse_avail = 1; } Cmd_AddCommand ("force_centerview", Force_CenterView_f, "Force view of player to center");