]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 8be8dd7ac0aa90d2f5423126e97a9116882d97a1..2639611d7bb7aabef66e27093d7d7914e40b9329 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");