Fix a fog information leak introduced by 8d8c6c67.
This commit is contained in:
@@ -373,10 +373,9 @@ namespace OpenRA.Mods.RA.Move
|
||||
public bool CanTargetLocation(Actor self, int2 location, List<Actor> actorsAtLocation, bool forceAttack, bool forceMove, bool forceQueued, ref string cursor)
|
||||
{
|
||||
IsQueued = forceQueued;
|
||||
|
||||
cursor = "move";
|
||||
if( !self.World.Map.IsInMap(location) || (self.World.LocalPlayer.Shroud.IsExplored( location ) &&
|
||||
!self.Trait<Mobile>().CanEnterCell( location )))
|
||||
Mobile.MovementCostForCell(self.Trait<Mobile>().Info, self.World, location) == int.MaxValue))
|
||||
cursor = "move-blocked";
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user