]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
check for -safe
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Sep 2002 13:48:31 +0000 (13:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Sep 2002 13:48:31 +0000 (13:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2356 d7cf8633-e32d-0410-b094-e92efae38249

cd_linux.c
cd_win.c

index 43a3891d5968be7399b48d6200011f6a8bd67a20..90f6976b91ce22644b5c94edfa953e164473082b 100644 (file)
@@ -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) {
index d61f269af41491ac546d52b0ab4fcce142d4e8be..aab8dad718282b0afb9db27c8924ea13b094dbb0 100644 (file)
--- 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";