Fix for zlib-less builds.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3710 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2010-12-23 06:09:25 +00:00
parent 7f69ea35dd
commit 5ba7b6b41c

View file

@ -2147,7 +2147,9 @@ void FS_StartupWithGame(int gamenum)
{
int i;
#ifdef AVAIL_ZLIB
LibZ_Init();
#endif
Cvar_Set(&com_gamename, gamemode_info[gamenum].protocolname);
@ -2372,7 +2374,7 @@ void COM_InitFilesystem (void)
if (dSHGetFolderPath(NULL, 0x5, NULL, 0, folder) == S_OK)
Q_snprintfz(com_homedir, sizeof(com_homedir), "%s/My Games/%s/", folder, FULLENGINENAME);
}
FreeLibrary(shfolder);
// FreeLibrary(shfolder);
}
if (!*com_homedir)