X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=vid_wgl.c;h=d7f8f946d57f35232dd0acf19e12dd4d847b4d32;hp=d54dfafd1a64e373855ea12352ec430b50711206;hb=28620abb9561ae4dfd3626c69912af0aa2e941df;hpb=eebcd6bcd83d46eaf2227b244863e78b2c3f7b9e diff --git a/vid_wgl.c b/vid_wgl.c index d54dfafd..d7f8f946 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -1324,6 +1324,7 @@ void IN_MouseMove (usercmd_t *cmd) { GetCursorPos (¤t_pos); ui_mouseupdate(current_pos.x - window_x, current_pos.y - window_y); + in_mouse_x = in_mouse_y = 0; return; } @@ -1641,7 +1642,6 @@ void Joy_AdvancedUpdate_f (void) } } - /* =========== IN_Commands