(QLIE): don't query encyption for archives v3.1+.

This commit is contained in:
morkt 2018-05-29 21:06:23 +04:00
parent 052beadabe
commit 186c40cb2c

View File

@ -124,7 +124,7 @@ namespace GameRes.Formats.Qlie
key_file = FindKeyFile (file);
use_pack_keyfile = key_file != null;
// currently, user is prompted to choose encryption scheme only if there's 'key.fkey' file found.
if (use_pack_keyfile)
if (use_pack_keyfile && pack_version.Minor == 0)
arc_key = QueryEncryption (file);
// use_pack_keyfile = null != arc_key;
}