]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed FS code so that unpacked files are handled normally when AKVERSION isn't defined
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 24 Oct 2003 06:47:21 +0000 (06:47 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 24 Oct 2003 06:47:21 +0000 (06:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3605 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index 333bf551a5cef75603dd1ef73121e69f38c675fa..8518c93db5045f6ac99260ba88624e016587fb17 100644 (file)
--- 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?