mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-09-13 23:02:12 +00:00
filesystem: zip: remove 'big' block
This commit is contained in:
parent
b42f020ad5
commit
01a33dcf7e
@ -830,8 +830,8 @@ static byte *Zip_LoadFile( const char *path, fs_offset_t *sizeptr, qboolean game
|
|||||||
|
|
||||||
search = FS_FindFile( path, &index, gamedironly );
|
search = FS_FindFile( path, &index, gamedironly );
|
||||||
|
|
||||||
if( search && search->zip )
|
if( !search || !search->zip )
|
||||||
{
|
return NULL;
|
||||||
|
|
||||||
file = &search->zip->files[index];
|
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 );
|
Con_Reportf( S_ERROR "Zip_LoadFile: %s : file compressed with unknown algorithm.\n", file->name );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user