Fix staining template reading.

This commit is contained in:
Ottermandias 2025-05-29 02:55:20 +02:00
parent 56bbf6593a
commit 66bed4217f

View file

@ -82,7 +82,7 @@ public sealed unsafe class PrepareColorSet
material->ReadStainingTemplate(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)
material->ReadStainingTemplate(dyeTable, stainIds.Stain1.Id, (Half*)&newTable, 1); material->ReadStainingTemplate(dyeTable, stainIds.Stain2.Id, (Half*)&newTable, 1);
} }
table = newTable; table = newTable;