check for -safe
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Sep 2002 13:54:36 +0000 (13:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Sep 2002 13:54:36 +0000 (13:54 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2358 d7cf8633-e32d-0410-b094-e92efae38249

in_win.c

index 60eb8a8..d11cd66 100644 (file)
--- a/in_win.c
+++ b/in_win.c
@@ -376,7 +376,7 @@ IN_StartupMouse
 */
 void IN_StartupMouse (void)
 {
-       if ( COM_CheckParm ("-nomouse") 
+       if (COM_CheckParm ("-nomouse") || COM_CheckParm("-safe")
                return; 
 
        mouseinitialized = true;
@@ -704,7 +704,7 @@ void IN_StartupJoystick (void)
        joy_avail = false; 
 
        // abort startup if user requests no joystick
-       if ( COM_CheckParm ("-nojoy") 
+       if (COM_CheckParm ("-nojoy") || COM_CheckParm("-safe")
                return; 
  
        // verify joystick driver is present