stripped dead code from move; added rally point support

This commit is contained in:
Chris Forbes
2009-11-09 18:53:06 +13:00
parent 7d19741dd9
commit 53db5eb491
8 changed files with 58 additions and 24 deletions

View File

@@ -123,6 +123,12 @@ namespace OpenRa.Game
order.Player.CancelProduction( Rules.UnitCategory[ order.TargetString ] );
break;
}
case "SetRallyPoint":
{
var pt = order.Subject.traits.Get<RallyPoint>();
pt.rallyPoint = order.TargetLocation;
break;
}
default:
throw new NotImplementedException();
}