(noncolor): tweaked scripts decryption.

This commit is contained in:
morkt
2018-12-23 14:31:24 +04:00
parent abac11dc43
commit 492c3d6a19
3 changed files with 20 additions and 27 deletions

View File

@@ -53,13 +53,7 @@ namespace GameRes.Formats.NonColor
return null;
using (var index = new NcIndexReader (file, count, key) { IndexPosition = 8 })
{
var file_map = ReadFilenameMap (scheme);
var dir = index.Read (file_map);
if (null == dir)
return null;
return new ArcDatArchive (file, this, dir, scheme.Hash);
}
return index.Read (this, scheme);
}
}
}