fix spelling error in ProductionAirdrop

This commit is contained in:
Chris Forbes
2011-10-06 23:23:47 +13:00
parent 1cf12df1c4
commit c18dcca1bc
3 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Support;
using OpenRA.Widgets;
using OpenRA.Mods.Cnc.Widgets;
namespace OpenRA.Mods.Cnc
{

View File

@@ -21,6 +21,7 @@ namespace OpenRA.Mods.Cnc
class IonCannonPower : SupportPower
{
public IonCannonPower(Actor self, IonCannonPowerInfo info) : base(self, info) { }
public override IOrderGenerator OrderGenerator(string order, SupportPowerManager manager)
{
Sound.PlayToPlayer(manager.self.Owner, Info.SelectTargetSound);

View File

@@ -33,7 +33,7 @@ namespace OpenRA.Mods.Cnc
var owner = self.Owner;
// 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 endPos = new int2(owner.World.Map.Bounds.Left - 5, self.Location.Y);