Render ore when gps is enabled

This commit is contained in:
Paul Chote
2010-05-14 21:41:32 +12:00
committed by Chris Forbes
parent af2fd1b93d
commit 84980789aa

View File

@@ -58,7 +58,10 @@ namespace OpenRA.Traits
for (int x = minx; x < maxx; x++)
for (int y = miny; y < maxy; y++)
{
if (world.LocalPlayer != null && !world.LocalPlayer.Shroud.IsExplored(new int2(x, y))) continue;
if (world.LocalPlayer != null &&
!world.LocalPlayer.Shroud.IsExplored(new int2(x, y)) &&
!world.LocalPlayer.Shroud.Disabled)
continue;
var c = content[x, y];
if (c.image != null)