mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Better.
This commit is contained in:
parent
5b59e74417
commit
07df3186c2
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue