Generate shroud cells outside the map.

This commit is contained in:
Paul Chote
2015-06-04 21:45:10 +01:00
parent cac7ec39f4
commit ec576558c0
2 changed files with 8 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ namespace OpenRA.Mods.Common.Traits
foreach (var cell in cellsAndNeighborsDirty)
{
var uv = cell.ToMPos(map.TileShape);
if (!map.Contains(uv))
if (!tileInfos.Contains(uv))
continue;
var tileInfo = tileInfos[uv];