This commit is contained in:
Ottermandias 2025-05-27 14:38:04 +02:00
parent 5b59e74417
commit 07df3186c2

View file

@ -79,10 +79,10 @@ public sealed unsafe class PrepareColorSet
if (GetDyeTable(material, out var dyeTable)) if (GetDyeTable(material, out var dyeTable))
{ {
if (stainIds.Stain1.Id != 0) if (stainIds.Stain1.Id != 0)
MaterialResourceHandle.MemberFunctionPointers.ReadStainingTemplate(material, dyeTable, stainIds.Stain1.Id, (Half*)&newTable, 0); material->ReadStainingTemplate(dyeTable, stainIds.Stain1.Id, (Half*)&newTable, 0);
if (stainIds.Stain2.Id != 0) if (stainIds.Stain2.Id != 0)
MaterialResourceHandle.MemberFunctionPointers.ReadStainingTemplate(material, dyeTable, stainIds.Stain1.Id, (Half*)&newTable, 1); material->ReadStainingTemplate(dyeTable, stainIds.Stain1.Id, (Half*)&newTable, 1);
} }
table = newTable; table = newTable;