From a5151882d91349b535e54475def754bf774cc83f Mon Sep 17 00:00:00 2001 From: taniwha Date: Sun, 3 Jun 2001 03:18:25 +0000 Subject: [PATCH] hopefully fix external file gzip support git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@228 d7cf8633-e32d-0410-b094-e92efae38249 --- common.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common.c b/common.c index 56d7f5ee..a39cc5e5 100644 --- a/common.c +++ b/common.c @@ -1598,7 +1598,12 @@ int COM_FindFile (char *filename, QFile **file, qboolean quiet, qboolean zip) findtime = Sys_FileTime (netpath); if (findtime == -1) - continue; + { + sprintf (netpath, "%s/%s",search->filename, gzfilename); + findtime = Sys_FileTime (netpath); + if (findtime == -1) + continue; + } #if CACHEENABLE // see if the file needs to be updated in the cache -- 2.39.2