From 03494356508f2be915986a694b3ac10c98226978 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 10 Jun 2020 20:54:19 +0100 Subject: [PATCH] Remove deprecated Paratrooper API methods. --- .../Properties/ParatroopersProperties.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs index f9665b9196..be87013a24 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/ParatroopersProperties.cs @@ -33,24 +33,5 @@ namespace OpenRA.Mods.Common.Scripting var actors = pp.SendParatroopers(Self, target, facing); return actors.First; } - - [Desc("Activate the actor's Paratroopers Power. Returns the dropped units. DEPRECATED! Will be removed.")] - public Actor[] SendParatroopers(WPos target, bool randomize = true, int facing = 0) - { - Game.Debug("SendParatroopers is deprecated. Use ActivateParatroopers instead."); - var actors = pp.SendParatroopers(Self, target, randomize ? -1 : facing); - return actors.Second; - } - - [Desc("Activate the actor's Paratroopers Power. Returns the dropped units. DEPRECATED! Will be removed.")] - public Actor[] SendParatroopersFrom(CPos from, CPos to) - { - Game.Debug("SendParatroopersFrom is deprecated. Use ActivateParatroopers instead."); - var i = Self.World.Map.CenterOfCell(from); - var j = Self.World.Map.CenterOfCell(to); - - var actors = pp.SendParatroopers(Self, j, (i - j).Yaw.Facing); - return actors.Second; - } } }