mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
9e84c6af1b
@ -1444,7 +1444,7 @@ function AUFTRAG:NewCASENHANCED(CasZone, Altitude, Speed, RangeMax, NoEngageZone
|
||||
mission.optionROE=ENUMS.ROE.OpenFire
|
||||
mission.optionROT=ENUMS.ROT.EvadeFire
|
||||
|
||||
mission.missionFraction=1.0
|
||||
mission.missionFraction=0.5
|
||||
mission.missionSpeed=Speed and UTILS.KnotsToKmph(Speed) or nil
|
||||
mission.missionAltitude=Altitude and UTILS.FeetToMeters(Altitude) or nil
|
||||
|
||||
|
||||
@ -980,7 +980,7 @@ function OPSGROUP:GetLifePoints(Element)
|
||||
for _,element in pairs(self.elements) do
|
||||
local l,l0=self:GetLifePoints(element)
|
||||
life=life+l
|
||||
life0=life+l0
|
||||
life0=life0+l0
|
||||
end
|
||||
|
||||
end
|
||||
@ -5943,7 +5943,6 @@ function OPSGROUP:RouteToMission(mission, delay)
|
||||
-- Random coordinate.
|
||||
waypointcoord=targetzone:GetRandomCoordinate(nil , nil, surfacetypes)
|
||||
|
||||
|
||||
else
|
||||
---
|
||||
-- Default case
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user