Merge pull request #12398 from pchote/shroud-edge-fail

Fix shroud rendering outside the map cordon.
This commit is contained in:
abcdefg30
2016-11-24 22:34:58 +01:00
committed by GitHub

View File

@@ -88,7 +88,7 @@ namespace OpenRA.Graphics
sprite = emptySprite;
// The vertex buffer does not have geometry for cells outside the map
if (!map.Contains(uv))
if (!map.Tiles.Contains(uv))
return;
var offset = rowStride * uv.V + 6 * uv.U;