1
0
Fork 0
forked from fte/fteqw

Close vorbisfile.library on exit.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2346 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2006-07-08 22:45:40 +00:00
parent bab511721b
commit 85abc8a042

View file

@ -18,6 +18,8 @@ int __stack = 4*1024*1024;
struct Library *DynLoadBase; struct Library *DynLoadBase;
#endif #endif
extern struct Library *VorbisFileBase;
#ifndef CLIENTONLY #ifndef CLIENTONLY
qboolean isDedicated; qboolean isDedicated;
#endif #endif
@ -31,6 +33,12 @@ static void Sys_Shutdown()
DynLoadBase = 0; DynLoadBase = 0;
} }
#endif #endif
if (VorbisFileBase)
{
CloseLibrary(VorbisFileBase);
VorbisFileBase = 0;
}
} }
void Sys_Quit (void) void Sys_Quit (void)