Merge pull request #8650 from pchote/editor-overlay

Render the terrain geometry over all visible terrain.
This commit is contained in:
Pavel Penev
2015-07-05 17:14:38 +03:00

View File

@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits
var colors = wr.World.TileSet.HeightDebugColors;
var mouseCell = wr.Viewport.ViewToWorld(Viewport.LastMousePos).ToMPos(wr.World.Map);
foreach (var uv in wr.Viewport.VisibleCellsInsideBounds.MapCoords)
foreach (var uv in wr.Viewport.AllVisibleCells.MapCoords)
{
var height = (int)map.MapHeight.Value[uv];
var tile = map.MapTiles.Value[uv];