(RAW): entries name format.

This commit is contained in:
morkt 2016-07-22 06:50:02 +04:00
parent b0fcb19c08
commit 1ca690d4d9

View File

@ -55,7 +55,7 @@ namespace GameRes.Formats.Patisserie
while (current_offset < end)
{
var entry = new Entry {
Name = string.Format (i.ToString ("D4")),
Name = string.Format ("{0:D4}.tga", i++),
Type = "image",
Offset = current_offset,
};
@ -66,7 +66,6 @@ namespace GameRes.Formats.Patisserie
return null;
dir.Add (entry);
current_offset += entry.Size;
++i;
}
return new ArcFile (file, this, dir);
}