Convert shroud calculations and rendering to PPos.
This commit is contained in:
@@ -59,6 +59,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
foreach (var uv in wr.Viewport.AllVisibleCells.CandidateMapCoords)
|
||||
{
|
||||
if (!map.MapHeight.Value.Contains(uv))
|
||||
continue;
|
||||
|
||||
var height = (int)map.MapHeight.Value[uv];
|
||||
var tile = map.MapTiles.Value[uv];
|
||||
var ti = tileSet.GetTileInfo(tile);
|
||||
|
||||
Reference in New Issue
Block a user