don't use Move directly

This commit is contained in:
Bob
2010-10-22 11:10:32 +13:00
parent f933e3de3f
commit 6513bd5fe0
20 changed files with 67 additions and 43 deletions

View File

@@ -72,8 +72,7 @@ namespace OpenRA.Mods.RA
if (rp != null)
{
target = rp.rallyPoint;
// Todo: Move implies unit has Mobile
newUnit.QueueActivity(new Move(target, 1));
newUnit.QueueActivity(mobile.MoveTo(target, 1));
}
if (newUnit.Owner == self.World.LocalPlayer)