Renamed ROT to TurnSpeed on Mobile, Aircraft, Turreted and ThrowsParticle
This commit is contained in:
@@ -71,7 +71,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
// Rotate towards the target
|
||||
var dist = pos - self.CenterPosition;
|
||||
var desiredFacing = dist.HorizontalLengthSquared != 0 ? dist.Yaw.Facing : helicopter.Facing;
|
||||
helicopter.Facing = Util.TickFacing(helicopter.Facing, desiredFacing, helicopter.ROT);
|
||||
helicopter.Facing = Util.TickFacing(helicopter.Facing, desiredFacing, helicopter.TurnSpeed);
|
||||
var move = helicopter.FlyStep(desiredFacing);
|
||||
|
||||
// Inside the minimum range, so reverse
|
||||
|
||||
Reference in New Issue
Block a user