**OPSGROUP**
- Improved routing for ground.

**NAVYGROUP**
- Fixed U-turn of turn into wind

**ARMYGROUP**
- Improved updateroute

**LEGION** and **COMMANDER**
- Set mission range LARGE for relocation mission

**AUFTRAG**
- Fixed bug in Nassets for relocation
This commit is contained in:
Frank
2022-05-17 22:50:35 +02:00
parent 64e70d8e92
commit 47c3fc35e3
10 changed files with 194 additions and 58 deletions

View File

@@ -541,6 +541,10 @@ function NAVYGROUP:_CreateTurnIntoWind(starttime, stoptime, speed, uturn, offset
-- Set start time.
local Tstart=UTILS.ClockToSeconds(starttime)
if uturn==nil then
uturn=true
end
-- Set stop time.
local Tstop=Tstart+90*60
@@ -1241,8 +1245,8 @@ function NAVYGROUP:onafterTurnIntoWind(From, Event, To, IntoWind)
IntoWind.Open=true
IntoWind.Coordinate=self:GetCoordinate()
IntoWind.Coordinate=self:GetCoordinate(true)
self.intowind=IntoWind
-- Wind speed in m/s.