diff --git a/engine/common/fs.c b/engine/common/fs.c index 9bf277ab2..50dadd2e3 100644 --- a/engine/common/fs.c +++ b/engine/common/fs.c @@ -743,7 +743,7 @@ static qboolean FSZIP_FLocate(void *handle, flocation_t *loc, char *filename, vo { for (i=0 ; inumfiles ; 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));