X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=in_win.c;fp=in_win.c;h=37db2e0f7645e303b63aca6ea3727b6cf3565150;hb=ea7c24e1fb41f3b1df984ac0eed6881c9fde16f5;hp=04cdbcdcf0e5c934516d026db598074561597809;hpb=b1f1db0e53f250a572a7e7f0cb1059c51940b6ac;p=xonotic%2Fdarkplaces.git diff --git a/in_win.c b/in_win.c index 04cdbcdc..37db2e0f 100644 --- a/in_win.c +++ b/in_win.c @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include "winquake.h" -//#include "dosisms.h" #include @@ -472,7 +471,6 @@ IN_Shutdown */ void IN_Shutdown (void) { -// usingmouse = false; IN_DeactivateMouse (); IN_ShowMouse (); @@ -562,9 +560,7 @@ void IN_MouseMove (usercmd_t *cmd) /* Unable to read data or no data available */ if (FAILED(hr) || dwElements == 0) - { break; - } /* Look at the element to see what happened */ @@ -683,7 +679,6 @@ IN_ClearStates */ void IN_ClearStates (void) { - if (mouseactive) { mx_accum = 0; @@ -959,8 +954,6 @@ qboolean IN_ReadJoystick (void) // read error occurred // turning off the joystick seems too harsh for 1 read error, // but what should be done? - // Con_Printf ("IN_ReadJoystick: no response\n"); - // joy_avail = false; return false; } } @@ -1138,3 +1131,4 @@ void IN_JoyMove (usercmd_t *cmd) } } } +