mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: common: filesystem.c: do not load zip-archives with zip extension as bullet proof.
This commit is contained in:
parent
e69956c9ea
commit
065811cc46
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user