fix spelling error in ProductionAirdrop
This commit is contained in:
@@ -14,7 +14,6 @@ using OpenRA.FileFormats;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Support;
|
using OpenRA.Support;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
using OpenRA.Mods.Cnc.Widgets;
|
|
||||||
|
|
||||||
namespace OpenRA.Mods.Cnc
|
namespace OpenRA.Mods.Cnc
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ namespace OpenRA.Mods.Cnc
|
|||||||
class IonCannonPower : SupportPower
|
class IonCannonPower : SupportPower
|
||||||
{
|
{
|
||||||
public IonCannonPower(Actor self, IonCannonPowerInfo info) : base(self, info) { }
|
public IonCannonPower(Actor self, IonCannonPowerInfo info) : base(self, info) { }
|
||||||
|
|
||||||
public override IOrderGenerator OrderGenerator(string order, SupportPowerManager manager)
|
public override IOrderGenerator OrderGenerator(string order, SupportPowerManager manager)
|
||||||
{
|
{
|
||||||
Sound.PlayToPlayer(manager.self.Owner, Info.SelectTargetSound);
|
Sound.PlayToPlayer(manager.self.Owner, Info.SelectTargetSound);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.Cnc
|
|||||||
var owner = self.Owner;
|
var owner = self.Owner;
|
||||||
|
|
||||||
// Start a fixed distance away: the width of the map.
|
// Start a fixed distance away: the width of the map.
|
||||||
// This makes the production timing indepent of spawnpoint
|
// This makes the production timing independent of spawnpoint
|
||||||
var startPos = self.Location + new int2(owner.World.Map.Bounds.Width, 0);
|
var startPos = self.Location + new int2(owner.World.Map.Bounds.Width, 0);
|
||||||
var endPos = new int2(owner.World.Map.Bounds.Left - 5, self.Location.Y);
|
var endPos = new int2(owner.World.Map.Bounds.Left - 5, self.Location.Y);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user