mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +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())
|
||||
join_point = self._rendezvous_point(ingress_point)
|
||||
split_point = self._rendezvous_point(ingress_point)
|
||||
self.package.waypoints = PackageWaypoints(
|
||||
join_point,
|
||||
WaypointBuilder.perturb(join_point),
|
||||
ingress_point,
|
||||
split_point,
|
||||
WaypointBuilder.perturb(join_point),
|
||||
)
|
||||
|
||||
def safe_points_between(self, a: Point, b: Point) -> Iterator[Point]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user