add me (jongleur1983) to AUTHORS
#14558: MovingToRefinery takes actor instead of CPos DeliveryOffset (previously added by the harvester) is now taken into account by the AutoCarryable fix whitespaces
This commit is contained in:
@@ -39,7 +39,13 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public WDist MinimumDistance { get { return info.MinDistance; } }
|
||||
|
||||
void INotifyHarvesterAction.MovingToResources(Actor self, CPos targetCell, Activity next) { RequestTransport(self, targetCell, next); }
|
||||
void INotifyHarvesterAction.MovingToRefinery(Actor self, CPos targetCell, Activity next) { RequestTransport(self, targetCell, next); }
|
||||
|
||||
void INotifyHarvesterAction.MovingToRefinery(Actor self, Actor refineryActor, Activity next)
|
||||
{
|
||||
var iao = refineryActor.Trait<IAcceptResources>();
|
||||
RequestTransport(self, refineryActor.Location + iao.DeliveryOffset, next);
|
||||
}
|
||||
|
||||
void INotifyHarvesterAction.MovementCancelled(Actor self) { MovementCancelled(self); }
|
||||
|
||||
// We do not handle Harvested notification
|
||||
|
||||
Reference in New Issue
Block a user