Skip to content

Commit

Permalink
fix wing glowmask drawing with shroomite stealth
Browse files Browse the repository at this point in the history
  • Loading branch information
direwolf420 committed Apr 26, 2022
1 parent f38edfd commit 385ff47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DrawLayers/WingsLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected override void Draw(ref PlayerDrawSet drawInfo)
return;
}

Color color = drawPlayer.GetImmuneAlphaPure(data.Color(drawInfo), drawInfo.shadow);
Color color = drawPlayer.GetImmuneAlphaPure(data.Color(drawInfo) * drawInfo.stealth * (1f - drawInfo.shadow), drawInfo.shadow); //Wing glowmasks need the additional stealth/shadow multiplier for some reason

Texture2D texture = data.Texture.Value;

Expand Down

0 comments on commit 385ff47

Please sign in to comment.