diff --git a/OpenRA.Mods.Common/Scripting/Properties/AirstrikeProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/AirstrikeProperties.cs index 01c94d51cc..b14143f2f5 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/AirstrikeProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/AirstrikeProperties.cs @@ -32,22 +32,5 @@ namespace OpenRA.Mods.Common.Scripting { return ap.SendAirstrike(Self, target, facing); } - - [Desc("Activate the actor's Airstrike Power. DEPRECATED! Will be removed.")] - public void SendAirstrike(WPos target, bool randomize = true, int facing = 0) - { - TextNotificationsManager.Debug("SendAirstrike is deprecated. Use TargetAirstrike instead."); - ap.SendAirstrike(Self, target, randomize ? (WAngle?)null : WAngle.FromFacing(facing)); - } - - [Desc("Activate the actor's Airstrike Power. DEPRECATED! Will be removed.")] - public void SendAirstrikeFrom(CPos from, CPos to) - { - TextNotificationsManager.Debug("SendAirstrikeFrom is deprecated. Use TargetAirstrike instead."); - var i = Self.World.Map.CenterOfCell(from); - var j = Self.World.Map.CenterOfCell(to); - - ap.SendAirstrike(Self, j, (i - j).Yaw); - } } } diff --git a/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs index f86053df09..c6d6dfb10e 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs @@ -33,13 +33,5 @@ namespace OpenRA.Mods.Common.Scripting var actors = pp.SendParatroopers(Self, target, facing); return actors.Aircraft; } - - [Desc("Activate the actor's Paratroopers Power. Returns the aircraft that will drop the reinforcements. DEPRECATED! Will be removed.")] - public Actor[] ActivateParatroopers(WPos target, int facing = -1) - { - TextNotificationsManager.Debug("SendParatroopersFrom is deprecated. Use TargetParatroopers instead."); - var actors = pp.SendParatroopers(Self, target, facing == -1 ? (WAngle?)null : WAngle.FromFacing(facing)); - return actors.Aircraft; - } } }