Restructuring orders.

This commit is contained in:
Bob
2009-10-28 22:06:39 +13:00
parent 5d1ae1cb2a
commit c0cb248bc1
14 changed files with 632 additions and 621 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenRa.Game.Traits
public Mobile(Actor self)
{
this.self = self;
fromCell = toCell;
fromCell = toCell;
Game.UnitInfluence.Update( this );
}
@@ -55,8 +55,8 @@ namespace OpenRa.Game.Traits
if( underCursor != null )
return null;
if (xy != toCell)
return new MoveOrder(self, xy);
if( xy != toCell )
return OpenRa.Game.Order.Move( self, xy );
return null;
}