1
0
Fork 0

[JSBSim] Fixed the property atmosphere/P-sl-psf

It did not report the correct value when modified.
This commit is contained in:
Bertrand Coconnier 2018-07-05 21:28:53 +02:00
parent b24ba303dc
commit 07fac8c08e

View file

@ -212,6 +212,7 @@ void FGStandardAtmosphere::SetPressureSL(ePressure unit, double pressure)
double press = ConvertToPSF(pressure, unit);
PressureBreakpoints[0] = press;
SLpressure = PressureBreakpoints[0];
CalculatePressureBreakpoints();
}