diff --git a/OpenKh.Game/Infrastructure/ArchiveManager.cs b/OpenKh.Game/Infrastructure/ArchiveManager.cs index ce0227c60..7000572a1 100644 --- a/OpenKh.Game/Infrastructure/ArchiveManager.cs +++ b/OpenKh.Game/Infrastructure/ArchiveManager.cs @@ -19,8 +19,8 @@ private class Entry [Bar.EntryType.Seqd] = entry => Sequence.Read(entry.Stream), [Bar.EntryType.Imgd] = entry => Imgd.Read(entry.Stream), [Bar.EntryType.Imgz] = entry => new Imgz(entry.Stream), - [Bar.EntryType.Vif] = entry => Mdlx.Read(entry.Stream), - [Bar.EntryType.Tim2] = entry => ModelTexture.Read(entry.Stream), + [Bar.EntryType.Model] = entry => Mdlx.Read(entry.Stream), + [Bar.EntryType.ModelTexture] = entry => ModelTexture.Read(entry.Stream), }; private readonly Dictionary<(string name, Bar.EntryType type), Entry> archives; @@ -51,8 +51,8 @@ public T Get(string resourceName) if (typeof(T) == typeof(Sequence)) return GetItem(resourceName, Bar.EntryType.Seqd); if (typeof(T) == typeof(Imgd)) return GetItem(resourceName, Bar.EntryType.Imgd); if (typeof(T) == typeof(Imgz)) return GetItem(resourceName, Bar.EntryType.Imgz); - if (typeof(T) == typeof(Mdlx)) return GetItem(resourceName, Bar.EntryType.Vif); - if (typeof(T) == typeof(ModelTexture)) return GetItem(resourceName, Bar.EntryType.Tim2); + if (typeof(T) == typeof(Mdlx)) return GetItem(resourceName, Bar.EntryType.Model); + if (typeof(T) == typeof(ModelTexture)) return GetItem(resourceName, Bar.EntryType.ModelTexture); return null; }