Run spell check over solution
This commit is contained in:
@@ -133,7 +133,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
var isLanded = dat <= aircraft.LandAltitude;
|
||||
|
||||
// HACK: Prevent paused (for example, EMP'd) aircraft from taking off.
|
||||
// This is necessary until the TODOs in the IsCanceling block below are adressed.
|
||||
// This is necessary until the TODOs in the IsCanceling block below are addressed.
|
||||
if (isLanded && aircraft.IsTraitPaused)
|
||||
return false;
|
||||
|
||||
@@ -236,7 +236,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
if (!isSlider)
|
||||
{
|
||||
// Using the turn rate, compute a hypothetical circle traced by a continuous turn.
|
||||
// If it contains the destination point, it's unreachable without more complex manuvering.
|
||||
// If it contains the destination point, it's unreachable without more complex maneuvering.
|
||||
var turnRadius = CalculateTurnRadius(aircraft.MovementSpeed, aircraft.TurnSpeed);
|
||||
|
||||
// The current facing is a tangent of the minimal turn circle.
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
|
||||
/// <summary>
|
||||
/// Called when the actor has entered the target actor.
|
||||
/// Actor will be be Killed/Disposed or they will enter/exit unharmed.
|
||||
/// Actor will be Killed/Disposed or they will enter/exit unharmed.
|
||||
/// Depends on either the EnterBehaviour of the actor or the requirements of an overriding function.
|
||||
/// </summary>
|
||||
protected virtual void OnEnterComplete(Actor self, Actor targetActor) { }
|
||||
|
||||
@@ -193,7 +193,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
return PathGraph.PathCostForInvalidPath;
|
||||
|
||||
// Add a cost modifier to harvestable cells to prefer resources that are closer to the refinery.
|
||||
// This reduces the tendancy for harvesters to move in straight lines
|
||||
// This reduces the tendency for harvesters to move in straight lines
|
||||
if (procPos.HasValue && harvInfo.ResourceRefineryDirectionPenalty > 0 && harv.CanHarvestCell(self, loc))
|
||||
{
|
||||
var pos = map.CenterOfCell(loc);
|
||||
|
||||
@@ -121,7 +121,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
|
||||
// HACK: If the activity is cancelled while we're on the host resupplying (or about to start resupplying),
|
||||
// move actor outside the resupplier footprint to prevent it from blocking other actors.
|
||||
// Additionally, if the host is no longer valid, make aircaft take off.
|
||||
// Additionally, if the host is no longer valid, make aircraft take off.
|
||||
if (isCloseEnough || isHostInvalid)
|
||||
OnResupplyEnding(self, isHostInvalid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user