YFT/XML conversion bug fix for FragMatrices (in FragDrawable)

This commit is contained in:
dexy 2020-02-27 18:49:00 +11:00
parent 14fe68136b
commit 30982ef45d

View File

@ -910,6 +910,7 @@ namespace CodeWalker.GameFiles
matinds.Add(id);
mats.Add(mat);
}
FragMatricesCount = (ushort)mats.Count;
for (int i = mats.Count; i < cap; i++)
{
matinds.Add(0);