mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix flyover waypoint generation.
Fixes https://github.com/Khopa/dcs_liberation/issues/820
This commit is contained in:
parent
fb724e0150
commit
5c47a8f7e1
@ -63,6 +63,7 @@ Saves from 2.3 are not compatible with 2.4.
|
||||
* **[Units]** Submarines have been removed for now as they aren't wholly functional.
|
||||
* **[Units]** Fixed "FACTION ERROR : Unable to find OliverHazardPerryGroupGenerator in pydcs" error at startup.
|
||||
* **[Mission Generator]** Fixed a bug where units set to Aggressive stance sometimes did not move.
|
||||
* **[Mission Generator]** Flyover points for OCA/Aircraft missions are now generated correctly.
|
||||
* **[Flight Planner]** Fixed not being able to create custom waypoints for buildings.
|
||||
* **[Flight Planner]** Strike missions will no longer be automatically planned against SAMs.
|
||||
* **[Flight Planner]** Strike missions will no longer be automatically planned against FOB structures.
|
||||
|
||||
@ -1413,7 +1413,10 @@ class PydcsWaypointBuilder:
|
||||
name=self.mission.string(self.waypoint.name))
|
||||
|
||||
if self.waypoint.flyover:
|
||||
waypoint.type = PointAction.FlyOverPoint.value
|
||||
waypoint.action = PointAction.FlyOverPoint
|
||||
# It seems we need to leave waypoint.type exactly as it is even
|
||||
# though it's set to "Turning Point". If I set this to "Fly Over
|
||||
# Point" and then save the mission in the ME DCS resets it.
|
||||
|
||||
waypoint.alt_type = self.waypoint.alt_type
|
||||
tot = self.flight.flight_plan.tot_for_waypoint(self.waypoint)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user