mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
If my memory doesn't fail me, this makes Q3 pak file contents case insentitive and thus makes Q3 map loading work
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2045 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1f15a044d3
commit
338d6a53ed
1 changed files with 1 additions and 2 deletions
|
@ -743,7 +743,7 @@ static qboolean FSZIP_FLocate(void *handle, flocation_t *loc, char *filename, vo
|
|||
{
|
||||
for (i=0 ; i<zip->numfiles ; i++) //look for the file
|
||||
{
|
||||
if (!strcmp (zip->files[i].name, filename))
|
||||
if (!stricmp (zip->files[i].name, filename))
|
||||
{
|
||||
pf = &zip->files[i];
|
||||
break;
|
||||
|
@ -830,7 +830,6 @@ static void *FSZIP_LoadZipFile (vfsfile_t *packhandle, char *desc)
|
|||
unz_global_info globalinf = {0};
|
||||
unz_file_info file_info;
|
||||
|
||||
|
||||
zip = Z_Malloc(sizeof(zipfile_t));
|
||||
Q_strncpyz(zip->filename, desc, sizeof(zip->filename));
|
||||
zip->handle = unzOpen ((zip->raw = packhandle));
|
||||
|
|
Loading…
Reference in a new issue