Fix projectile shadow alpha calculation.

This commit is contained in:
Mustafa Alperen Seki
2022-02-02 20:31:56 +03:00
committed by abcdefg30
parent 1813edc74b
commit c096934db8
3 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ namespace OpenRA.Mods.Common.Projectiles
}
shadowColor = new float3(info.ShadowColor.R, info.ShadowColor.G, info.ShadowColor.B) / 255f;
shadowAlpha = info.ShadowColor.A;
shadowAlpha = info.ShadowColor.A / 255f;
}
public void Tick(World world)