]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Make PAK loading case insensitive for quake2 pak files...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 Jun 2014 16:14:54 +0000 (16:14 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 Jun 2014 16:14:54 +0000 (16:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12086 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index e5cc470948ea3b38abd78195fa6caeca11a5af85..9976cf2227bcbc072a5f5cc3cce090a1939f42af 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -990,7 +990,7 @@ static pack_t *FS_LoadPackPAK (const char *packfile)
        }
 
        pack = (pack_t *)Mem_Alloc(fs_mempool, sizeof (pack_t));
-       pack->ignorecase = false; // PAK is case sensitive
+       pack->ignorecase = true; // PAK is sensitive in Quake1 but insensitive in Quake2
        strlcpy (pack->filename, packfile, sizeof (pack->filename));
        pack->handle = packhandle;
        pack->numfiles = 0;