From 52d5b1f8d10fdd899d5f6980d0ea3e4b4d346938 Mon Sep 17 00:00:00 2001 From: ook3D Date: Thu, 8 Jun 2023 14:00:35 -0400 Subject: [PATCH] Fixed DeadEndness Bit Shifting in the wrong direction thanks alexguirre :D --- CodeWalker/Project/Panels/EditYndNodePanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWalker/Project/Panels/EditYndNodePanel.cs b/CodeWalker/Project/Panels/EditYndNodePanel.cs index 5073fca..5dc995e 100644 --- a/CodeWalker/Project/Panels/EditYndNodePanel.cs +++ b/CodeWalker/Project/Panels/EditYndNodePanel.cs @@ -349,7 +349,7 @@ namespace CodeWalker.Project.Panels flags3 += (((uint)PathNodeFlags32UpDown.Value & 127u) << 1); flags4 += (((uint)PathNodeFlags42UpDown.Value & 15u)); - flags4 += (((uint)PathNodeFlags43UpDown.Value & 7u) >> 4); + flags4 += (((uint)PathNodeFlags43UpDown.Value & 7u) << 4); flags4 = BitUtil.UpdateBit(flags4, 7, PathNodeFlags48CheckBox.Checked); flags5 = BitUtil.UpdateBit(flags5, 0, PathNodeFlags51CheckBox.Checked);