diff --git a/ArcFormats/ArcNPA.cs b/ArcFormats/ArcNPA.cs index 55644b5d..411c4cc4 100644 --- a/ArcFormats/ArcNPA.cs +++ b/ArcFormats/ArcNPA.cs @@ -143,6 +143,8 @@ namespace GameRes.Formats IsPacked = compressed, RawName = raw_name, }; + if (!entry.CheckPlacement (file.MaxOffset)) + return null; entry.Type = FormatCatalog.Instance.GetTypeFromName (entry.Name); dir.Add (entry); }