mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-23 09:16:04 +01:00
filesystem: check only DLLs for encryption
This commit is contained in:
parent
a19270a0dc
commit
9381a40506
@ -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…
Reference in New Issue
Block a user