mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Revert NullReferenceException change in IntervalTree.cs
* Not technically needed because newNode.Parent is the same value as parent
This commit is contained in:
1 parent
51b32981b6
commit
0487b781dc
1 file changed
+2
-5
@@ -316,16 +316,13 @@ namespace ARMeilleure.Translation
|
||||
{
|
||||
_root = newNode;
|
||||
}
|
||||
else if (parent != null && start.CompareTo(parent.Start) < 0)
|
||||
else if (start.CompareTo(parent.Start) < 0)
|
||||
{
|
||||
parent.Left = newNode;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (parent != null)
|
||||
{
|
||||
parent.Right = newNode;
|
||||
}
|
||||
parent.Right = newNode;
|
||||
}
|
||||
|
||||
PropagateIncrease(newNode);
|
||||
|
||||
Reference in new issue
Block a user