diff --git a/OpenRA.Mods.Cnc/CncLoadScreen.cs b/OpenRA.Mods.Cnc/CncLoadScreen.cs index 3fac45cd42..07b02e405f 100644 --- a/OpenRA.Mods.Cnc/CncLoadScreen.cs +++ b/OpenRA.Mods.Cnc/CncLoadScreen.cs @@ -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 { diff --git a/OpenRA.Mods.Cnc/IonCannonPower.cs b/OpenRA.Mods.Cnc/IonCannonPower.cs index 209268c92c..59327a9078 100644 --- a/OpenRA.Mods.Cnc/IonCannonPower.cs +++ b/OpenRA.Mods.Cnc/IonCannonPower.cs @@ -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); diff --git a/OpenRA.Mods.Cnc/ProductionAirdrop.cs b/OpenRA.Mods.Cnc/ProductionAirdrop.cs index db867f8117..27023ec97c 100644 --- a/OpenRA.Mods.Cnc/ProductionAirdrop.cs +++ b/OpenRA.Mods.Cnc/ProductionAirdrop.cs @@ -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);