1
0
mirror of synced 2025-02-21 04:58:41 +01:00

BFRES : Quick work around for skinning indices to fix index out of range error.

Quick work around based on VelouriasMoon's fix.
This commit is contained in:
KillzXGaming 2021-03-29 20:41:44 -04:00
parent dcba003aba
commit e1e6a3941f

View File

@ -49,7 +49,7 @@ namespace Bfres.Structs
{
if (bn.Text == Bone.Name)
{
if (bn.UseSmoothMatrix || bn.SmoothMatrixIndex != -1)
if (bn.UseSmoothMatrix || bn.SmoothMatrixIndex > 0)
{
bn.SmoothMatrixIndex = (short)SmoothIndex++;