Skip to content

Commit

Permalink
Oops forgot to implement PropAnim write
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatecompvir committed Jan 27, 2025
1 parent 76c883f commit 4f7b4f2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions MiloLib/Assets/Rnd/RndPropAnim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,21 @@ public override void Write(EndianWriter writer, bool standalone, DirectoryMeta p

base.Write(writer, false, parent, entry);

anim.Write(writer);

if (revision == 12)
writer.WriteBoolean(unkBool);

writer.WriteUInt32((uint)propKeys.Count);

foreach (PropKey propKey in propKeys)
{
propKey.Write(writer, revision);
}

if (revision >= 13)
writer.WriteBoolean(unkBool2);

if (standalone)
writer.WriteBlock(new byte[4] { 0xAD, 0xDE, 0xAD, 0xDE });
}
Expand Down

0 comments on commit 4f7b4f2

Please sign in to comment.