diff --git a/OpenRA.Game/Traits/World/BibLayer.cs b/OpenRA.Game/Traits/World/BibLayer.cs index 14a2f1d9ba..f918786c24 100644 --- a/OpenRA.Game/Traits/World/BibLayer.cs +++ b/OpenRA.Game/Traits/World/BibLayer.cs @@ -75,7 +75,8 @@ namespace OpenRA.Traits { var cliprect = Game.viewport.ShroudBounds().HasValue ? Rectangle.Intersect(Game.viewport.ShroudBounds().Value, world.Map.Bounds) : world.Map.Bounds; - + + cliprect = Rectangle.Intersect(Game.viewport.ViewBounds(), cliprect); foreach (var kv in tiles) { if (!cliprect.Contains(kv.Key.X, kv.Key.Y)) diff --git a/OpenRA.Game/Traits/World/SmudgeLayer.cs b/OpenRA.Game/Traits/World/SmudgeLayer.cs index 96a54e48a4..fecdfdc6b4 100644 --- a/OpenRA.Game/Traits/World/SmudgeLayer.cs +++ b/OpenRA.Game/Traits/World/SmudgeLayer.cs @@ -76,7 +76,7 @@ namespace OpenRA.Traits { var cliprect = Game.viewport.ShroudBounds().HasValue ? Rectangle.Intersect(Game.viewport.ShroudBounds().Value, world.Map.Bounds) : world.Map.Bounds; - + cliprect = Rectangle.Intersect(Game.viewport.ViewBounds(), cliprect); foreach (var kv in tiles) { if (!cliprect.Contains(kv.Key.X,kv.Key.Y))