From: taniwha Date: Sun, 3 Jun 2001 03:18:25 +0000 (+0000) Subject: hopefully fix external file gzip support X-Git-Tag: RELEASE_0_2_0_RC1~801 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a5151882d91349b535e54475def754bf774cc83f;p=xonotic%2Fdarkplaces.git hopefully fix external file gzip support git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@228 d7cf8633-e32d-0410-b094-e92efae38249 --- 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