flying off map simplification

This commit is contained in:
Chris Forbes
2010-03-07 22:52:03 +13:00
parent 0ef228a6a5
commit 171cae1833
4 changed files with 42 additions and 24 deletions

View File

@@ -73,9 +73,8 @@ namespace OpenRA.Mods.RA
void FinishedDropping(Actor self)
{
// this kindof sucks, actually.
self.CancelActivity();
self.QueueActivity(new Fly(Util.CenterOfCell(self.World.ChooseRandomEdgeCell())));
self.QueueActivity(new FlyOffMap(20));
self.QueueActivity(new RemoveSelf());
}
}