Bug fix for reading/writing MrfNodeClip based on flags value

This commit is contained in:
dexy 2022-02-07 00:28:14 +11:00
parent 2bd5cacaf1
commit 8998b8c808

View File

@ -1662,7 +1662,7 @@ namespace CodeWalker.GameFiles
if (((Flags >> 6) & 3) != 0)
Unk7 = r.ReadUInt32();
if (((Flags >> 6) & 3) != 0)
if (((Flags >> 8) & 3) != 0)
Unk8 = r.ReadUInt32();
}
@ -1696,7 +1696,7 @@ namespace CodeWalker.GameFiles
if (((Flags >> 6) & 3) != 0)
w.Write(Unk7);
if (((Flags >> 6) & 3) != 0)
if (((Flags >> 8) & 3) != 0)
w.Write(Unk8);
}