Fix a desync in GpsDot.IsTargetableBy.
World.ShroudExplores depends on RenderPlayer, which makes it completely bogus for this purpose.
This commit is contained in:
@@ -111,7 +111,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
|
||||
shouldRenderIndicator = !f2.HasRenderables;
|
||||
|
||||
return f2.Visible && !f2.Shrouded && !toPlayer.World.ShroudObscures(self.CenterPosition);
|
||||
return f2.Visible && !f2.Shrouded && toPlayer.Shroud.IsExplored(self.CenterPosition);
|
||||
}
|
||||
|
||||
FrozenActor FrozenActorForPlayer(Player player)
|
||||
|
||||
Reference in New Issue
Block a user