]> 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)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 28 Jun 2014 19:11:12 +0000 (21:11 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12086 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=78f3036de241fe5128b684eb8296731c242a42a6

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;