Browse Source

filesystem: zip: remove 'big' block

pull/2/head
Mr0maks 6 years ago
parent
commit
01a33dcf7e
  1. 5
      engine/common/filesystem.c

5
engine/common/filesystem.c

@ -830,8 +830,8 @@ static byte *Zip_LoadFile( const char *path, fs_offset_t *sizeptr, qboolean game @@ -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 @@ -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;
}

Loading…
Cancel
Save