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 ceab9ef..989903f 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