Browse Source

filesystem: check only DLLs for encryption

pull/2/head
Alibek Omarov 2 years ago
parent
commit
9381a40506
  1. 4
      filesystem/filesystem.c

4
filesystem/filesystem.c

@ -1266,6 +1266,10 @@ static qboolean FS_CheckForCrypt( const char *dllname ) @@ -1266,6 +1266,10 @@ static qboolean FS_CheckForCrypt( const char *dllname )
file_t *f;
int key;
// this encryption is specific to DLLs
if( Q_stricmp( COM_FileExtension( dllname ), "dll" ))
return false;
f = FS_Open( dllname, "rb", false );
if( !f ) return false;

Loading…
Cancel
Save