Skip to content

Commit

Permalink
Fix Fog color on Radar.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR authored and PunkPun committed Aug 31, 2022
1 parent 215898c commit 16babc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Widgets/RadarWidget.cs
Expand Up @@ -257,7 +257,7 @@ void UpdateShroudCell(PPos puv)
var cv = currentPlayer.Shroud.GetVisibility(puv);
if (cv == Shroud.CellVisibility.Hidden)
color = ColorShroud;
else if (cv.HasFlag(Shroud.CellVisibility.Visible))
else if (!cv.HasFlag(Shroud.CellVisibility.Visible))
color = ColorFog;

var stride = radarSheet.Size.Width;
Expand Down

0 comments on commit 16babc1

Please sign in to comment.