From 36c20e8adf44c3854e132eb139dbbaf42286433a Mon Sep 17 00:00:00 2001 From: Niek <32094562+niekschoemaker@users.noreply.github.com> Date: Sat, 10 Aug 2024 02:57:46 +0200 Subject: [PATCH] Update Bounds.cs --- CodeWalker.Core/GameFiles/Resources/Bounds.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CodeWalker.Core/GameFiles/Resources/Bounds.cs b/CodeWalker.Core/GameFiles/Resources/Bounds.cs index 3133a2b..20e1def 100644 --- a/CodeWalker.Core/GameFiles/Resources/Bounds.cs +++ b/CodeWalker.Core/GameFiles/Resources/Bounds.cs @@ -2660,9 +2660,9 @@ namespace CodeWalker.GameFiles var edgeIndex1 = ((ptri.edgeIndex1 >= 0) && (ptri.edgeIndex1 < itemlookup.Length)) ? itemlookup[ptri.edgeIndex1] : -1; var edgeIndex2 = ((ptri.edgeIndex2 >= 0) && (ptri.edgeIndex2 < itemlookup.Length)) ? itemlookup[ptri.edgeIndex2] : -1; var edgeIndex3 = ((ptri.edgeIndex3 >= 0) && (ptri.edgeIndex3 < itemlookup.Length)) ? itemlookup[ptri.edgeIndex3] : -1; - ptri.SetEdgeIndex(1, edgeIndex1); - ptri.SetEdgeIndex(2, edgeIndex2); - ptri.SetEdgeIndex(3, edgeIndex3); + ptri.SetEdgeIndex(0, edgeIndex1); + ptri.SetEdgeIndex(1, edgeIndex2); + ptri.SetEdgeIndex(2, edgeIndex3); } } }