Fixed DeadEndness Bit Shifting in the wrong direction

thanks alexguirre :D
This commit is contained in:
ook3D 2023-06-08 14:00:35 -04:00
parent 5a89aa5b14
commit 52d5b1f8d1

View File

@ -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);