]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added -novorbis commandline option to allow disabling ogg vorbis support even if...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Sep 2004 06:26:27 +0000 (06:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Sep 2004 06:26:27 +0000 (06:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4425 d7cf8633-e32d-0410-b094-e92efae38249

snd_ogg.c

index ceab9efb41856b8ac64c0c0ee54470c4d4a3af6c..989903fedb83db97706d7d6a83341edf287568fe 100644 (file)
--- a/snd_ogg.c
+++ b/snd_ogg.c
@@ -298,6 +298,9 @@ qboolean OGG_OpenLibrary (void)
        if (vf_dll)
                return true;
 
+       if (COM_CheckParm("-novorbis"))
+               return false;
+
 #ifdef WIN32
        dllname = "vorbisfile.dll";
 #else