mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00: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;
|
file_t *f;
|
||||||
int key;
|
int key;
|
||||||
|
|
||||||
|
// this encryption is specific to DLLs
|
||||||
|
if( Q_stricmp( COM_FileExtension( dllname ), "dll" ))
|
||||||
|
return false;
|
||||||
|
|
||||||
f = FS_Open( dllname, "rb", false );
|
f = FS_Open( dllname, "rb", false );
|
||||||
if( !f ) return false;
|
if( !f ) return false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user