add Util.RunActivity, and have Actor.Tick use it. fix medic autoheal

This commit is contained in:
Bob
2010-11-14 18:36:36 +13:00
parent d152d21338
commit 80e897abfb
16 changed files with 59 additions and 57 deletions

View File

@@ -137,7 +137,7 @@ namespace OpenRA.Mods.RA.Move
if( firstFacing != mobile.Facing )
{
path.Add( nextCell.Value );
return Util.SequenceActivities( new Turn( firstFacing ), this ).Tick( self );
return Util.SequenceActivities( new Turn( firstFacing ), this );
}
else
{
@@ -150,7 +150,7 @@ namespace OpenRA.Mods.RA.Move
mobile.Facing,
0 );
return move.Tick( self );
return move;
}
}