renamed in Mobile.CurrentAction: "Action" -> "Activity"

This commit is contained in:
Bob
2009-10-26 18:57:12 +13:00
parent 20fed17306
commit 384a3ee2e9
4 changed files with 34 additions and 34 deletions

View File

@@ -198,7 +198,7 @@ namespace OpenRa.Game
var unit = new Actor(name, (1/24f * producer.CenterLocation).ToInt2(), player);
var mobile = unit.traits.Get<Mobile>();
mobile.facing = 128;
mobile.QueueAction( new Traits.Mobile.MoveTo( unit.Location + new int2( 0, 3 ) ) );
mobile.QueueActivity( new Traits.Mobile.MoveTo( unit.Location + new int2( 0, 3 ) ) );
world.AddFrameEndTask(_ => world.Add(unit));