engine: common: filesystem.c: do not load zip-archives with zip extension as bullet proof.

This commit is contained in:
Andrey Akhmichin 2020-07-22 10:20:48 +05:00 committed by Alibek Omarov
parent e69956c9ea
commit 065811cc46
1 changed files with 1 additions and 1 deletions

View File

@ -1124,7 +1124,7 @@ qboolean FS_AddZip_Fullpath( const char *zipfile, qboolean *already_loaded, int
if( already_loaded ) *already_loaded = false;
if( !Q_stricmp( ext, "zip" ) || !Q_stricmp( ext, "pk3" ) )
if( !Q_stricmp( ext, "pk3" ) )
zip = FS_LoadZip( zipfile, &errorcode );
if( zip )