filesystem: zip: warning else zip file is empty
This commit is contained in:
parent
6422005716
commit
b42f020ad5
1 changed files with 3 additions and 3 deletions
|
@ -686,7 +686,7 @@ static zip_t *FS_LoadZip( const char *zipfile, int *error )
|
||||||
|
|
||||||
if( signature == ZIP_HEADER_EOCD )
|
if( signature == ZIP_HEADER_EOCD )
|
||||||
{
|
{
|
||||||
Con_Reportf( "%s has no files. Ignored.\n", zipfile );
|
Con_Reportf( S_WARN "%s has no files. Ignored.\n", zipfile );
|
||||||
|
|
||||||
if( error )
|
if( error )
|
||||||
*error = ZIP_LOAD_NO_FILES;
|
*error = ZIP_LOAD_NO_FILES;
|
||||||
|
|
Loading…
Add table
Reference in a new issue