mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Use initial point for Herc AirAssault ingress
This commit is contained in:
parent
bd7f7615b0
commit
dd2fb432f2
@ -136,10 +136,18 @@ class Builder(FormationAttackBuilder[AirAssaultFlightPlan, AirAssaultLayout]):
|
|||||||
pickup.alt = altitude
|
pickup.alt = altitude
|
||||||
pickup_position = pickup.position
|
pickup_position = pickup.position
|
||||||
|
|
||||||
ingress = builder.ingress(
|
ingress = (
|
||||||
FlightWaypointType.INGRESS_AIR_ASSAULT,
|
builder.ingress(
|
||||||
self.package.waypoints.ingress,
|
FlightWaypointType.INGRESS_AIR_ASSAULT,
|
||||||
self.package.target,
|
self.package.waypoints.ingress,
|
||||||
|
self.package.target,
|
||||||
|
)
|
||||||
|
if not self.flight.is_hercules
|
||||||
|
else builder.ingress(
|
||||||
|
FlightWaypointType.INGRESS_AIR_ASSAULT,
|
||||||
|
self.package.waypoints.initial,
|
||||||
|
self.package.target,
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
assault_area = builder.assault_area(self.package.target)
|
assault_area = builder.assault_area(self.package.target)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user