filesystem: zip: remove 'big' block

This commit is contained in:
Mr0maks 2019-05-30 00:51:52 +05:00
parent b42f020ad5
commit 01a33dcf7e

View file

@ -830,8 +830,8 @@ static byte *Zip_LoadFile( const char *path, fs_offset_t *sizeptr, qboolean game
search = FS_FindFile( path, &index, gamedironly );
if( search && search->zip )
{
if( !search || !search->zip )
return NULL;
file = &search->zip->files[index];
@ -943,7 +943,6 @@ static byte *Zip_LoadFile( const char *path, fs_offset_t *sizeptr, qboolean game
Con_Reportf( S_ERROR "Zip_LoadFile: %s : file compressed with unknown algorithm.\n", file->name );
return NULL;
}
}
return NULL;
}