Fixed #7472 so that cargo is only shown on allied vehicles
fixed spacing pips are shown on every team when shroud is disabled removed comment Remove unwanted comment explaining how ally-detection works fixed the real problem in RenderAfterWorld
This commit is contained in:
@@ -38,7 +38,7 @@ namespace OpenRA.Traits
|
||||
|
||||
public IEnumerable<IRenderable> RenderAfterWorld(WorldRenderer wr)
|
||||
{
|
||||
if (!self.Owner.IsAlliedWith(self.World.RenderPlayer) && self.World.FogObscures(self))
|
||||
if (!self.Owner.IsAlliedWith(self.World.RenderPlayer) || self.World.FogObscures(self))
|
||||
yield break;
|
||||
|
||||
var b = self.Bounds;
|
||||
|
||||
Reference in New Issue
Block a user