From: havoc Date: Wed, 11 Sep 2002 13:48:31 +0000 (+0000) Subject: check for -safe X-Git-Tag: RELEASE_0_2_0_RC1~250 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=051cbfa162b00e0820b50114e2b3366c9912018e;p=xonotic%2Fdarkplaces.git check for -safe git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2356 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cd_linux.c b/cd_linux.c index 43a3891d..90f6976b 100644 --- a/cd_linux.c +++ b/cd_linux.c @@ -375,7 +375,7 @@ int CDAudio_Init(void) if (cls.state == ca_dedicated) return -1; - if (COM_CheckParm("-nocdaudio")) + if (COM_CheckParm("-nocdaudio") || COM_CheckParm("-safe")) return -1; if ((i = COM_CheckParm("-cddev")) != 0 && i < com_argc - 1) { diff --git a/cd_win.c b/cd_win.c index d61f269a..aab8dad7 100644 --- a/cd_win.c +++ b/cd_win.c @@ -426,7 +426,7 @@ int CDAudio_Init(void) if (cls.state == ca_dedicated) return -1; - if (COM_CheckParm("-nocdaudio")) + if (COM_CheckParm("-nocdaudio") || COM_CheckParm("-safe")) return -1; mciOpenParms.lpstrDeviceType = "cdaudio";