Fixed crashes while repositioning the aircraft.
This commit is contained in:
parent
01f05b5383
commit
f81c01465e
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ FGStandardAtmosphere::FGStandardAtmosphere(FGFDMExec* fdmex)
|
||||||
<< 298556.4304 << 336.5028; // 91.000 - First layer in high altitude regime
|
<< 298556.4304 << 336.5028; // 91.000 - First layer in high altitude regime
|
||||||
|
|
||||||
PressureBreakpointVector.resize(StdAtmosTemperatureTable.GetNumRows());
|
PressureBreakpointVector.resize(StdAtmosTemperatureTable.GetNumRows());
|
||||||
|
LapseRateVector.resize(StdAtmosTemperatureTable.GetNumRows());
|
||||||
|
|
||||||
// Assume the altitude to fade out the gradient at is at the highest
|
// Assume the altitude to fade out the gradient at is at the highest
|
||||||
// altitude in the table. Above that, other functions are used to
|
// altitude in the table. Above that, other functions are used to
|
||||||
|
|
Loading…
Add table
Reference in a new issue