From d8bb803f8410df06237ccf4409c77045098c2c7d Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 24 Nov 2007 03:10:19 +0000 Subject: [PATCH] don't start up CD audio if -nocdaudio is given on commandline - it was already not being initialized, but it was being started git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7714 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_shared.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cd_shared.c b/cd_shared.c index a11b06cb..03596e78 100644 --- a/cd_shared.c +++ b/cd_shared.c @@ -426,6 +426,9 @@ int CDAudio_Init (void) int CDAudio_Startup (void) { + if (COM_CheckParm("-nocdaudio")) + return -1; + CDAudio_SysStartup (); if (CDAudio_GetAudioDiskInfo()) -- 2.39.2