From 051cbfa162b00e0820b50114e2b3366c9912018e Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 11 Sep 2002 13:48:31 +0000 Subject: [PATCH] check for -safe git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2356 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_linux.c | 2 +- cd_win.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.39.2