fix invisible units with gps

This commit is contained in:
Chris Forbes
2010-04-23 18:26:46 +12:00
parent 4cb6c8bacc
commit 01e90e4068

View File

@@ -40,6 +40,7 @@ namespace OpenRA.Traits
{
return self.World.LocalPlayer == null
|| self.Owner == self.World.LocalPlayer
|| self.World.LocalPlayer.Shroud.Disabled
|| shroud.visibleCells[self.Location.X, self.Location.Y] > 0;
}