From 84980789aaee14911f1a34e3d39554aefb640dc0 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 14 May 2010 21:41:32 +1200 Subject: [PATCH] Render ore when gps is enabled --- OpenRA.Game/Traits/World/ResourceLayer.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/Traits/World/ResourceLayer.cs b/OpenRA.Game/Traits/World/ResourceLayer.cs index 0ab97298e5..7049d627be 100644 --- a/OpenRA.Game/Traits/World/ResourceLayer.cs +++ b/OpenRA.Game/Traits/World/ResourceLayer.cs @@ -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)