From 385ff47b03a92f518f322500df5c9bd543c8f2b4 Mon Sep 17 00:00:00 2001 From: direwolf420 Date: Tue, 26 Apr 2022 12:51:35 +0200 Subject: [PATCH] fix wing glowmask drawing with shroomite stealth --- DrawLayers/WingsLayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DrawLayers/WingsLayer.cs b/DrawLayers/WingsLayer.cs index ce6e73bd..080e4b1f 100644 --- a/DrawLayers/WingsLayer.cs +++ b/DrawLayers/WingsLayer.cs @@ -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;