(NScripter): check NBZ flag in compressed entries.

This commit is contained in:
morkt 2018-06-14 23:20:14 +04:00
parent 175b1c9ee7
commit 20afc26ec4

View File

@ -184,7 +184,7 @@ namespace GameRes.Formats.NScripter
{
if (null == nsa_entry)
return input;
if (nsa_entry.Name.HasExtension (".nbz"))
if (nsa_entry.Name.HasExtension (".nbz") || Compression.NBZ == nsa_entry.CompressionType)
{
input.Position = 4;
return new BZip2InputStream (input);