1
0
mirror of synced 2025-01-31 12:23:52 +01:00

RARC : Fix writing directory IDs.

This commit is contained in:
KillzXGaming 2021-12-02 17:30:01 -05:00
parent c204608f9b
commit d11e90787c

View File

@ -197,7 +197,7 @@ namespace FirstPlugin
var dirEntry = (DirectoryEntry)_savedNodes[dir].Children[n];
int index = Directories.ToList().IndexOf(dirEntry);
writer.Write((ushort)0);
writer.Write((short)-1);
writer.Write(dirEntry.Hash);
writer.Write((byte)0x2);
writer.Write((byte)0);