moved Activity to Actor (from Mobile)

This commit is contained in:
Bob
2009-11-25 18:34:30 +13:00
parent 5c3da9387b
commit 74ab0c7a13
6 changed files with 55 additions and 62 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRa.Game.Traits
var unit = harvester.traits.Get<Unit>();
var mobile = harvester.traits.Get<Mobile>();
unit.Facing = 64;
mobile.QueueActivity(new Harvest());
harvester.QueueActivity(new Harvest());
w.Add(harvester);
});
}