Remove CellBounds from BuildableTerrainLayer and SmudgeLayer
This commit is contained in:
@@ -59,12 +59,11 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public void Render(WorldRenderer wr)
|
||||
{
|
||||
var cliprect = wr.Viewport.CellBounds;
|
||||
var pal = wr.Palette("terrain");
|
||||
|
||||
foreach (var kv in tiles)
|
||||
{
|
||||
if (!cliprect.Contains(kv.Key.X, kv.Key.Y))
|
||||
if (!wr.Viewport.VisibleCells.Contains(kv.Key))
|
||||
continue;
|
||||
|
||||
if (wr.world.ShroudObscures(kv.Key))
|
||||
|
||||
Reference in New Issue
Block a user