[JSBSim] Fixed the property atmosphere/P-sl-psf
It did not report the correct value when modified.
This commit is contained in:
parent
b24ba303dc
commit
07fac8c08e
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ void FGStandardAtmosphere::SetPressureSL(ePressure unit, double pressure)
|
|||
double press = ConvertToPSF(pressure, unit);
|
||||
|
||||
PressureBreakpoints[0] = press;
|
||||
SLpressure = PressureBreakpoints[0];
|
||||
CalculatePressureBreakpoints();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue