diff --git a/ArcFormats/ArcNexas.cs b/ArcFormats/ArcNexas.cs index 63b3e481..8e565539 100644 --- a/ArcFormats/ArcNexas.cs +++ b/ArcFormats/ArcNexas.cs @@ -120,7 +120,7 @@ namespace GameRes.Formats.NeXAS { case Compression.Lzss: using (input) - using (var reader = new LzssReader (input, (int)entry.Size, (int)entry.UnpackedSize)) + using (var reader = new LzssReader (input, (int)pent.Size, (int)pent.UnpackedSize)) { reader.Unpack(); return new MemoryStream (reader.Data, false);