From: molivier Date: Fri, 24 Oct 2003 06:47:21 +0000 (+0000) Subject: Fixed FS code so that unpacked files are handled normally when AKVERSION isn't defined X-Git-Tag: xonotic-v0.1.0preview~6293 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f4d146d977657c9569797e278df183234509553b;p=xonotic%2Fdarkplaces.git Fixed FS code so that unpacked files are handled normally when AKVERSION isn't defined git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3605 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index 333bf551..8518c93d 100644 --- a/fs.c +++ b/fs.c @@ -982,7 +982,8 @@ qfile_t *FS_FOpenFile (const char *filename, qboolean quiet) filenamelen = strlen (filename); - // search through the path, one element at a time +#ifdef AKVERSION + // search through the path, one element at a time search = fs_searchpaths; for( ; search ; search = search->next) @@ -998,7 +999,6 @@ qfile_t *FS_FOpenFile (const char *filename, qboolean quiet) return FS_OpenRead (netpath, -1, -1); } -#ifdef AKVERSION search = fs_searchpaths; for ( ; search ; search = search->next) // is the element a pak file?