Streamline Land activity
Removed some redundant parameters, some redundant overloads and made Land always consider LandAltitude relative to target.
This commit is contained in:
@@ -72,7 +72,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
});
|
||||
|
||||
actor.QueueActivity(new Fly(actor, Target.FromPos(self.CenterPosition + new WVec(landDistance, 0, 0))));
|
||||
actor.QueueActivity(new Land(actor, Target.FromActor(self), false));
|
||||
actor.QueueActivity(new Land(actor, Target.FromActor(self)));
|
||||
actor.QueueActivity(new CallFunc(() =>
|
||||
{
|
||||
if (!self.IsInWorld || self.IsDead)
|
||||
|
||||
Reference in New Issue
Block a user