Browse Source

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

pull/2/head
Andrey Akhmichin 4 years ago committed by Alibek Omarov
parent
commit
065811cc46
  1. 2
      engine/common/filesystem.c

2
engine/common/filesystem.c

@ -1124,7 +1124,7 @@ qboolean FS_AddZip_Fullpath( const char *zipfile, qboolean *already_loaded, int @@ -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…
Cancel
Save