mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
filesystem: check only DLLs for encryption
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user