made Expand a bit more sensible
This commit is contained in:
@@ -70,4 +70,10 @@ namespace OpenRA.Traits
|
||||
{
|
||||
return map.IsInMap(cell) && !blocked[cell.X, cell.Y];
|
||||
}
|
||||
|
||||
public bool CanMoveHere(int2 cell, Actor toIgnore)
|
||||
{
|
||||
return map.IsInMap(cell) &&
|
||||
(!blocked[cell.X, cell.Y] || influence[cell.X, cell.Y] == toIgnore);
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user