]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
fix nexuiz menu mouse input by resetting in_mouse_x/y variables in a
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 38571e69a60c92c001bc5e2dc6ebc426277df505..b6f177ace451371f49a55e0bc2985e381244952c 100644 (file)
--- a/host.c
+++ b/host.c
@@ -660,6 +660,9 @@ void Host_Main(void)
 
                cl.islocalgame = NetConn_IsLocalGame();
 
+               // begin gathering mouse input
+               in_mouse_x = in_mouse_y = 0;
+
                // get new key events
                Sys_SendKeyEvents();