From ab7b799c7d69a72f1a6b41d21c65f08de77ade35 Mon Sep 17 00:00:00 2001 From: Crsky Date: Sun, 15 Sep 2024 02:13:23 +0800 Subject: [PATCH] Update ArcPAC.cs --- ArcFormats/Nexas/ArcPAC.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ArcFormats/Nexas/ArcPAC.cs b/ArcFormats/Nexas/ArcPAC.cs index 342413a4..e10a0d53 100644 --- a/ArcFormats/Nexas/ArcPAC.cs +++ b/ArcFormats/Nexas/ArcPAC.cs @@ -168,7 +168,6 @@ namespace GameRes.Formats.NeXAS entry.Size = index.ReadUInt32(); if (!entry.CheckPlacement (m_file.MaxOffset)) return false; - bool isPacked = false; switch (m_pack_type) { case 1: @@ -176,18 +175,16 @@ namespace GameRes.Formats.NeXAS case 3: case 6: { - isPacked = true; + entry.IsPacked = true; break; } case 4: case 7: { - isPacked = entry.Size != entry.UnpackedSize; + entry.IsPacked = entry.Size != entry.UnpackedSize; break; } } - entry.IsPacked = isPacked; - m_dir.Add (entry); } return true;