use FTranslationID in the model code.
This commit is contained in:
parent
8c5eb2c807
commit
c5c822ea75
17 changed files with 29 additions and 24 deletions
|
|
@ -116,9 +116,9 @@ void FHWModelRenderer::SetInterpolation(double inter)
|
|||
state.SetInterpolationFactor((float)inter);
|
||||
}
|
||||
|
||||
void FHWModelRenderer::SetMaterial(FGameTexture *skin, bool clampNoFilter, int translation)
|
||||
void FHWModelRenderer::SetMaterial(FGameTexture *skin, bool clampNoFilter, FTranslationID translation)
|
||||
{
|
||||
state.SetMaterial(skin, UF_Skin, 0, clampNoFilter ? CLAMP_NOFILTER : CLAMP_NONE, translation, -1);
|
||||
state.SetMaterial(skin, UF_Skin, 0, clampNoFilter ? CLAMP_NOFILTER : CLAMP_NONE, translation.index(), -1);
|
||||
state.SetLightIndex(modellightindex);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue