From 1d81e71bcbf1cad5996560297312f43dfcd6c1f8 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 26 Nov 2010 18:44:02 +1300 Subject: [PATCH] Allow vis to extend outside the map, but not explored. --- OpenRA.Game/Traits/World/Shroud.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Game/Traits/World/Shroud.cs b/OpenRA.Game/Traits/World/Shroud.cs index e6b8d3db9b..a86b4b2326 100644 --- a/OpenRA.Game/Traits/World/Shroud.cs +++ b/OpenRA.Game/Traits/World/Shroud.cs @@ -208,9 +208,6 @@ namespace OpenRA.Traits public bool IsVisible(int2 xy) { return IsVisible(xy.X, xy.Y); } public bool IsVisible(int x, int y) { - if (!map.IsInMap(x, y)) - return false; - if (disabled || world.LocalPlayer == null) return true;