Remove Player.CanViewActor and .CanTargetActor.
This commit is contained in:
@@ -81,7 +81,7 @@ namespace OpenRA.Mods.Common.AI
|
||||
|
||||
public bool IsTargetVisible
|
||||
{
|
||||
get { return Bot.Player.PlayerActor.Owner.CanTargetActor(TargetActor); }
|
||||
get { return TargetActor.CanBeViewedByPlayer(Bot.Player); }
|
||||
}
|
||||
|
||||
public WPos CenterPosition { get { return Units.Select(u => u.CenterPosition).Average(); } }
|
||||
|
||||
Reference in New Issue
Block a user