trigger fixes; strike waypoint fixes; m2k strike payload update

This commit is contained in:
Vasyl Horbachenko
2018-10-13 02:36:25 +03:00
parent 3f8b5c6c00
commit 4fc766a524
6 changed files with 10 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ class GroundObjectsGenerator:
center = self.conflict.center
heading = self.conflict.heading - 90
else:
center, heading = self.conflict.frontline_position(self.conflict.from_cp, self.conflict.to_cp)
center, heading = self.conflict.frontline_position(self.conflict.theater, self.conflict.from_cp, self.conflict.to_cp)
heading -= 90
position = self.conflict.find_ground_position(center.point_from_heading(heading, FARP_FRONTLINE_DISTANCE), heading)