From f4d146d977657c9569797e278df183234509553b Mon Sep 17 00:00:00 2001 From: molivier Date: Fri, 24 Oct 2003 06:47:21 +0000 Subject: [PATCH] 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 --- fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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? -- 2.39.2