AUFTRAG CAP

- Fixed mission speed (unit conversion)
This commit is contained in:
Frank
2023-01-01 20:07:14 +01:00
parent 8f185d1291
commit bdd283956c
2 changed files with 5 additions and 2 deletions

View File

@@ -3777,10 +3777,13 @@ function FLIGHTGROUP:AddWaypoint(Coordinate, Speed, AfterWaypointWithID, Altitud
-- Set waypoint index.
local wpnumber=self:GetWaypointIndexAfterID(AfterWaypointWithID)
-- Speed in knots.
Speed=Speed or self:GetSpeedCruise()
-- Debug info.
self:T3(self.lid..string.format("Waypoint Speed=%.1f knots", Speed))
-- Alt type default is barometric (ASL). For helos we use radar (AGL).
local alttype=COORDINATE.WaypointAltType.BARO
if self.isHelo then