Closed steviegt6 closed 4 months ago
public Color GetHairColor(bool useLighting = true)
{
Color color = Lighting.GetColor((int)((double)position.X + (double)width * 0.5) / 16, (int)(((double)position.Y + (double)height * 0.25) / 16.0));
return GameShaders.Hair.GetColor(hairDye, this, useLighting ? color : Color.White);
}
Called with useLighting
as true
(default value); fine when not in-game because Lighting.GetColor
returns Color.White
... not so fortunate in-game.
Description