|
|
@ -2348,7 +2348,10 @@ file_t *FS_OpenZipFile( zip_t *zip, int pack_ind ) |
|
|
|
|
|
|
|
|
|
|
|
// compressed files handled in Zip_LoadFile
|
|
|
|
// compressed files handled in Zip_LoadFile
|
|
|
|
if( pfile->flags != ZIP_COMPRESSION_NO_COMPRESSION ) |
|
|
|
if( pfile->flags != ZIP_COMPRESSION_NO_COMPRESSION ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Con_Printf( S_ERROR "%s: can't open compressed file %s", __FUNCTION__, pfile->name ); |
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return FS_OpenHandle( zip->filename, zip->handle, pfile->offset, pfile->size ); |
|
|
|
return FS_OpenHandle( zip->filename, zip->handle, pfile->offset, pfile->size ); |
|
|
|
} |
|
|
|
} |
|
|
|