AutoEntry.Offset set in constructor now.

This commit is contained in:
morkt
2015-04-16 22:41:03 +04:00
parent f5d2cac377
commit 127a2bcf4d
2 changed files with 1 additions and 3 deletions

View File

@@ -64,7 +64,6 @@ namespace GameRes.Formats.MnoViolet
index_offset += name_size;
uint offset = file.View.ReadUInt32 (index_offset+4);
var entry = AutoEntry.Create (file, offset, name);
entry.Offset = offset;
entry.Size = file.View.ReadUInt32 (index_offset);
if (offset <= index_size || !entry.CheckPlacement (file.MaxOffset))
return null;