ShroudRenderer, fix, render Shroud if fog disabled.

This commit is contained in:
Vapre
2022-09-01 23:56:24 +02:00
committed by Smittytron
parent e2284f660c
commit 57ce88cc9a
3 changed files with 5 additions and 5 deletions

View File

@@ -255,7 +255,7 @@ namespace OpenRA.Mods.Common.Widgets
{
var color = 0;
var cv = currentPlayer.Shroud.GetVisibility(puv);
if (cv == Shroud.CellVisibility.Hidden)
if (!cv.HasFlag(Shroud.CellVisibility.Explored))
color = ColorShroud;
else if (!cv.HasFlag(Shroud.CellVisibility.Visible))
color = ColorFog;