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:
@@ -263,6 +263,9 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public bool CanTargetLocation(Actor self, int2 location, List<Actor> actorsAtLocation, bool forceAttack, bool forceMove, bool forceQueued, ref string cursor)
|
||||
{
|
||||
if (!self.World.Map.IsInMap(location))
|
||||
return false;
|
||||
|
||||
IsQueued = forceQueued;
|
||||
|
||||
cursor = isHeal ? "heal" : "attack";
|
||||
|
||||
Reference in New Issue
Block a user