Fix shroud rendering outside the map cordon.

This commit is contained in:
Paul Chote
2016-11-19 18:10:12 +00:00
parent e337048a97
commit a266dc6639

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;