From 8ce70f1f9ff3e7a5688c6b13e3f0446ba362bd50 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 30 Oct 2018 23:50:46 +0400 Subject: [PATCH] (GRP): cosmetic. --- ArcFormats/ExHibit/ArcGRP.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArcFormats/ExHibit/ArcGRP.cs b/ArcFormats/ExHibit/ArcGRP.cs index 6186642e..d6ac4c85 100644 --- a/ArcFormats/ExHibit/ArcGRP.cs +++ b/ArcFormats/ExHibit/ArcGRP.cs @@ -109,17 +109,15 @@ namespace GameRes.Formats.ExHibit var dir = new List (count); for (int i = 0; i < count; ++i) { - uint offset = toc_file.View.ReadUInt32 (index_offset); uint size = toc_file.View.ReadUInt32 (index_offset+4); if (size != 0) { var entry = new Entry { Name = string.Format ("{0:D5}.ogg", start_index+i), Type = "audio", - Offset = offset, + Offset = toc_file.View.ReadUInt32 (index_offset), Size = size, }; - entry.Offset = toc_file.View.ReadUInt32 (index_offset); if (!entry.CheckPlacement (file.MaxOffset)) return null; dir.Add (entry);