Fix ProductionAirdrop style nits.
This commit is contained in:
@@ -30,9 +30,10 @@ namespace OpenRA.Mods.Cnc
|
|||||||
|
|
||||||
class ProductionAirdrop : Production
|
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;
|
var owner = self.Owner;
|
||||||
|
|
||||||
@@ -53,10 +54,10 @@ namespace OpenRA.Mods.Cnc
|
|||||||
{
|
{
|
||||||
var a = w.CreateActor(actorType, new TypeDictionary
|
var a = w.CreateActor(actorType, new TypeDictionary
|
||||||
{
|
{
|
||||||
new LocationInit( startPos ),
|
new LocationInit(startPos),
|
||||||
new OwnerInit( owner ),
|
new OwnerInit(owner),
|
||||||
new FacingInit( 64 ),
|
new FacingInit(64),
|
||||||
new AltitudeInit( Rules.Info[actorType].Traits.Get<PlaneInfo>().CruiseAltitude ),
|
new AltitudeInit(Rules.Info[actorType].Traits.Get<PlaneInfo>().CruiseAltitude),
|
||||||
});
|
});
|
||||||
|
|
||||||
a.QueueActivity(Fly.ToCell(self.Location + new CVec(9, 0)));
|
a.QueueActivity(Fly.ToCell(self.Location + new CVec(9, 0)));
|
||||||
|
|||||||
Reference in New Issue
Block a user