Actually render resources when shroud is disabled

This commit is contained in:
Paul Chote
2010-06-20 18:30:06 +12:00
committed by Chris Forbes
parent c1aa25e307
commit aff357db0b
2 changed files with 2 additions and 2 deletions

View File

@@ -204,6 +204,7 @@ namespace OpenRA.Graphics
{
var localPlayer = Game.world.LocalPlayer;
if (localPlayer == null) return null;
if (localPlayer.Shroud.Disabled) return null;
return localPlayer.Shroud.Bounds;
}
}