check for -safe
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Sep 2002 14:12:30 +0000 (14:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 11 Sep 2002 14:12:30 +0000 (14:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2361 d7cf8633-e32d-0410-b094-e92efae38249

snd_dma.c

index 8be8dd7..2639611 100644 (file)
--- a/snd_dma.c
+++ b/snd_dma.c
@@ -170,7 +170,7 @@ void S_Init (void)
        Cvar_RegisterVariable(&volume);
        Cvar_RegisterVariable(&bgmvolume);
 
-       if (COM_CheckParm("-nosound"))
+       if (COM_CheckParm("-nosound") || COM_CheckParm("-safe"))
                return;
 
        snd_mempool = Mem_AllocPool("sound");