mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Only pass air-defenses to IpSolver when creating package waypoints
Aims to solve an issue where waypoints would completely disregard air defenses and overfly them due to interference from airbase threat ranges...
This commit is contained in:
@@ -38,7 +38,7 @@ class PackageWaypoints:
|
||||
dcs_to_shapely_point(origin.position),
|
||||
dcs_to_shapely_point(package.target.position),
|
||||
coalition.doctrine,
|
||||
coalition.opponent.threat_zone.all,
|
||||
coalition.opponent.threat_zone.air_defenses,
|
||||
)
|
||||
ip_solver.set_debug_properties(
|
||||
waypoint_debug_directory() / "IP", coalition.game.theater.terrain
|
||||
|
||||
Reference in New Issue
Block a user