fix some dumbness in Production/ITeleportable

This commit is contained in:
Chris Forbes
2011-01-02 14:41:48 +13:00
parent 7b5a8cf089
commit 2048900c10
5 changed files with 13 additions and 3 deletions

View File

@@ -185,6 +185,11 @@ namespace OpenRA.Mods.RA.Move
FinishedMoving(self);
}
public void AdjustPxPosition(Actor self, int2 px) /* visual hack only */
{
PxPosition = px;
}
public IEnumerable<IOrderTargeter> Orders { get { yield return new MoveOrderTargeter(Info); } }
// Note: Returns a valid order even if the unit can't move to the target