ShroudRenderer, fix, no shroud or fog in editor.
This commit is contained in:
committed by
Matthias Mailänder
parent
57ce88cc9a
commit
63499c6334
@@ -214,7 +214,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
// All tiles are visible in the editor
|
||||
if (w.Type == WorldType.Editor)
|
||||
cellVisibility = puv => Shroud.CellVisibility.Visible;
|
||||
cellVisibility = puv => (map.Contains(puv) ? Shroud.CellVisibility.Visible | Shroud.CellVisibility.Explored : Shroud.CellVisibility.Explored);
|
||||
else
|
||||
cellVisibility = puv => (map.Contains(puv) ? Shroud.CellVisibility.Visible | Shroud.CellVisibility.Explored : Shroud.CellVisibility.Hidden);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user