mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-25 08:22:54 +08:00
Bug fix for reading/writing MrfNodeClip based on flags value
This commit is contained in:
parent
2bd5cacaf1
commit
8998b8c808
@ -1662,7 +1662,7 @@ namespace CodeWalker.GameFiles
|
|||||||
if (((Flags >> 6) & 3) != 0)
|
if (((Flags >> 6) & 3) != 0)
|
||||||
Unk7 = r.ReadUInt32();
|
Unk7 = r.ReadUInt32();
|
||||||
|
|
||||||
if (((Flags >> 6) & 3) != 0)
|
if (((Flags >> 8) & 3) != 0)
|
||||||
Unk8 = r.ReadUInt32();
|
Unk8 = r.ReadUInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1696,7 +1696,7 @@ namespace CodeWalker.GameFiles
|
|||||||
if (((Flags >> 6) & 3) != 0)
|
if (((Flags >> 6) & 3) != 0)
|
||||||
w.Write(Unk7);
|
w.Write(Unk7);
|
||||||
|
|
||||||
if (((Flags >> 6) & 3) != 0)
|
if (((Flags >> 8) & 3) != 0)
|
||||||
w.Write(Unk8);
|
w.Write(Unk8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user