fix minimal build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4688 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
84888e3ff2
commit
49a04eacae
1 changed files with 2 additions and 0 deletions
|
@ -2152,7 +2152,9 @@ void DL_Abort(qdownload_t *dl, enum qdlabort aborttype)
|
||||||
|
|
||||||
if (dl->flags & DLLF_TEMPORARY)
|
if (dl->flags & DLLF_TEMPORARY)
|
||||||
{
|
{
|
||||||
|
#ifdef TERRAIN
|
||||||
if (!Terr_DownloadedSection(dl->tempname+dl->prefixbytes))
|
if (!Terr_DownloadedSection(dl->tempname+dl->prefixbytes))
|
||||||
|
#endif
|
||||||
Con_Printf("Downloaded unusable temporary file\n");
|
Con_Printf("Downloaded unusable temporary file\n");
|
||||||
FS_Remove(dl->tempname+dl->prefixbytes, dl->fsroot);
|
FS_Remove(dl->tempname+dl->prefixbytes, dl->fsroot);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue