From 49a04eacae2c0d050ec4380d0b8964f6d6260535 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 16 Jun 2014 21:13:50 +0000 Subject: [PATCH] fix minimal build git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4688 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 82d9e13d7..b1011424e 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -2152,7 +2152,9 @@ void DL_Abort(qdownload_t *dl, enum qdlabort aborttype) if (dl->flags & DLLF_TEMPORARY) { +#ifdef TERRAIN if (!Terr_DownloadedSection(dl->tempname+dl->prefixbytes)) +#endif Con_Printf("Downloaded unusable temporary file\n"); FS_Remove(dl->tempname+dl->prefixbytes, dl->fsroot); }