Fix ProductionAirdrop style nits.

This commit is contained in:
Paul Chote
2013-07-14 16:56:44 +12:00
parent 8f5abf7983
commit 330978aeea

View File

@@ -30,9 +30,10 @@ namespace OpenRA.Mods.Cnc
class ProductionAirdrop : Production
{
public ProductionAirdrop(ProductionAirdropInfo info) : base(info) {}
public ProductionAirdrop(ProductionAirdropInfo info)
: base(info) { }
public override bool Produce( Actor self, ActorInfo producee )
public override bool Produce(Actor self, ActorInfo producee)
{
var owner = self.Owner;
@@ -53,10 +54,10 @@ namespace OpenRA.Mods.Cnc
{
var a = w.CreateActor(actorType, new TypeDictionary
{
new LocationInit( startPos ),
new OwnerInit( owner ),
new FacingInit( 64 ),
new AltitudeInit( Rules.Info[actorType].Traits.Get<PlaneInfo>().CruiseAltitude ),
new LocationInit(startPos),
new OwnerInit(owner),
new FacingInit(64),
new AltitudeInit(Rules.Info[actorType].Traits.Get<PlaneInfo>().CruiseAltitude),
});
a.QueueActivity(Fly.ToCell(self.Location + new CVec(9, 0)));