Polish: Show the "move-blocked" cursor for locations outside the map. Clamp move orders to the map bounds for these orders.
This commit is contained in:
@@ -76,7 +76,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public bool CanTargetLocation(Actor self, int2 location, List<Actor> actorsAtLocation, bool forceAttack, bool forceMove, bool forceQueued, ref string cursor)
|
||||
{
|
||||
return true;
|
||||
return self.World.Map.IsInMap(location);
|
||||
}
|
||||
|
||||
public bool IsQueued { get { return false; } } // unused
|
||||
|
||||
Reference in New Issue
Block a user