mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Perturb fallback join/split points.
Otherwise they're placed exactly on top of each other, which makes the map harder to read.
This commit is contained in:
parent
076df7cf66
commit
7c3e08050f
@ -998,11 +998,10 @@ class FlightPlanBuilder:
|
|||||||
|
|
||||||
ingress_point = self._ingress_point(self._target_heading_to_package_airfield())
|
ingress_point = self._ingress_point(self._target_heading_to_package_airfield())
|
||||||
join_point = self._rendezvous_point(ingress_point)
|
join_point = self._rendezvous_point(ingress_point)
|
||||||
split_point = self._rendezvous_point(ingress_point)
|
|
||||||
self.package.waypoints = PackageWaypoints(
|
self.package.waypoints = PackageWaypoints(
|
||||||
join_point,
|
WaypointBuilder.perturb(join_point),
|
||||||
ingress_point,
|
ingress_point,
|
||||||
split_point,
|
WaypointBuilder.perturb(join_point),
|
||||||
)
|
)
|
||||||
|
|
||||||
def safe_points_between(self, a: Point, b: Point) -> Iterator[Point]:
|
def safe_points_between(self, a: Point, b: Point) -> Iterator[Point]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user