From 1e2c544fcb70d44b79c888724e68b3229ad38bdb Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sat, 5 Aug 2023 09:19:14 -0400 Subject: [PATCH] Quick fix. --- .../FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs b/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs index 39377e6d..52b2e0ba 100644 --- a/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs +++ b/File_Format_Library/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSHP.cs @@ -1891,7 +1891,7 @@ namespace Bfres.Structs { if (weights.Count > v4ListIndex) weights[v4ListIndex].Add(vWeight4); - if (weights.Count > v4ListIndex) + if (boneInd.Count > v4ListIndex) boneInd[v4ListIndex].Add(vBoneInd4); v4ListIndex++;