AB 0.996w

This commit is contained in:
funkyfranky
2019-03-27 16:23:39 +01:00
parent ec155ed80c
commit de0c8e3789
3 changed files with 24 additions and 11 deletions

View File

@@ -9055,9 +9055,17 @@ function AIRBOSS:_Break(playerData, part)
self:_AbortPattern(playerData, X, Z, breakpoint, true)
return
end
-- Player made a very tight turn and did not trigger the latebreak threshold at 0.8 NM.
local tooclose=false
if part==AIRBOSS.PatternStep.LATEBREAK then
if X<0 and Z<UTILS.NMToMeters(0.8) then
tooclose=true
end
end
-- Check limits.
if self:_CheckLimits(X, Z, breakpoint) then
if self:_CheckLimits(X, Z, breakpoint) or tooclose then
-- Hint for player about altitude, AoA etc.
self:_PlayerHint(playerData)

View File

@@ -884,7 +884,7 @@ function RECOVERYTANKER:onafterStart(From, Event, To)
else
-- Spawn tanker at airbase.
self.tanker=Spawn:SpawnAtAirbase(self.airbase, self.takeoff)
self.tanker=Spawn:SpawnAtAirbase(self.airbase, self.takeoff, nil, AIRBASE.TerminalType.OpenBig)
end