Merge pull request #8948 from pchote/fix-shroud-edge-reveal

Prevent shroud from being revealed outside the map cordon.
This commit is contained in:
Matthias Mailänder
2015-08-05 08:46:06 +02:00

View File

@@ -193,7 +193,7 @@ namespace OpenRA.Traits
foreach (var puv in cells)
{
var uv = (MPos)puv;
if (!explored[uv])
if (map.Contains(puv) && !explored[uv])
{
explored[uv] = true;
changed.Add(puv);