From: havoc Date: Wed, 11 Sep 2002 13:54:36 +0000 (+0000) Subject: check for -safe X-Git-Tag: RELEASE_0_2_0_RC1~248 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=00322258fc19f151087caff9cacef0d7589f7fb4;p=xonotic%2Fdarkplaces.git check for -safe git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2358 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/in_win.c b/in_win.c index 60eb8a83..d11cd66b 100644 --- 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