]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_ogg.c
cvar: Don't memset cvar->aliases before it's even allocated
[xonotic/darkplaces.git] / snd_ogg.c
index 39c09b5b2158ff732f4c1e2d1094a872dae417fb..09d20c8e307c0e2d9c9c93397c5cf8577957dff4 100644 (file)
--- a/snd_ogg.c
+++ b/snd_ogg.c
@@ -306,7 +306,7 @@ qbool OGG_OpenLibrary (void)
        // Load the DLLs
        // We need to load both by hand because some OSes seem to not load
        // the vorbis DLL automatically when loading the VorbisFile DLL
-       return Sys_LoadLibrary (dllnames_vo, &vo_dll, vorbisfuncs) && Sys_LoadLibrary (dllnames_vf, &vf_dll, vorbisfilefuncs);
+       return Sys_LoadDependency (dllnames_vo, &vo_dll, vorbisfuncs) && Sys_LoadDependency (dllnames_vf, &vf_dll, vorbisfilefuncs);
 }