From 78838c715a039c5c074b8e4d11bc3b13c2404538 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 5 Jul 2015 14:52:38 +0100 Subject: [PATCH] Render the terrain geometry over all visible terrain. --- OpenRA.Mods.Common/Traits/World/TerrainGeometryOverlay.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/World/TerrainGeometryOverlay.cs b/OpenRA.Mods.Common/Traits/World/TerrainGeometryOverlay.cs index 391ed0045d..189293d1f8 100644 --- a/OpenRA.Mods.Common/Traits/World/TerrainGeometryOverlay.cs +++ b/OpenRA.Mods.Common/Traits/World/TerrainGeometryOverlay.cs @@ -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];