mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
7f69ea35dd
commit
5ba7b6b41c
1 changed files with 3 additions and 1 deletions
|
@ -2147,7 +2147,9 @@ void FS_StartupWithGame(int gamenum)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
#ifdef AVAIL_ZLIB
|
||||||
LibZ_Init();
|
LibZ_Init();
|
||||||
|
#endif
|
||||||
|
|
||||||
Cvar_Set(&com_gamename, gamemode_info[gamenum].protocolname);
|
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)
|
if (dSHGetFolderPath(NULL, 0x5, NULL, 0, folder) == S_OK)
|
||||||
Q_snprintfz(com_homedir, sizeof(com_homedir), "%s/My Games/%s/", folder, FULLENGINENAME);
|
Q_snprintfz(com_homedir, sizeof(com_homedir), "%s/My Games/%s/", folder, FULLENGINENAME);
|
||||||
}
|
}
|
||||||
FreeLibrary(shfolder);
|
// FreeLibrary(shfolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!*com_homedir)
|
if (!*com_homedir)
|
||||||
|
|
Loading…
Reference in a new issue