From: lordhavoc Date: Thu, 28 Feb 2002 06:43:22 +0000 (+0000) Subject: fixed some sloppyness in my earlier input merging X-Git-Tag: RELEASE_0_2_0_RC1~603 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=aaf2dceb4cfe188d7a5ef4fe5b870f8f37b9701f fixed some sloppyness in my earlier input merging git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1592 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_glx.c b/vid_glx.c index c4282cf3..db5c8cb7 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -55,7 +55,6 @@ static qboolean mouse_avail = true; static qboolean mouse_active = false, usingmouse = false; // static qboolean dga_active; static float mouse_x, mouse_y; -static float old_mouse_x, old_mouse_y; static int p_mouse_x, p_mouse_y; cvar_t vid_dga = {CVAR_SAVE, "vid_dga", "1"}; @@ -830,8 +829,8 @@ void IN_Commands (void) void IN_Move (usercmd_t *cmd) { - if (mouseavail) - In_Mouse(cmd, mouse_x, mouse_y); + if (mouse_avail) + IN_Mouse(cmd, mouse_x, mouse_y); mouse_x = 0; mouse_y = 0; }