Fix a typo so that turbulence can work in JSBSim models once again.
This commit is contained in:
parent
bdf16b7b7e
commit
39869b582a
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void FGAtmosphere::CalculateDerived(void)
|
|||
T_dev = (*temperature) - GetTemperature(h);
|
||||
density_altitude = h + T_dev * 66.7;
|
||||
|
||||
if (turbType != ttStandard) {
|
||||
if (turbType == ttStandard) {
|
||||
Turbulence();
|
||||
vWindNED += vTurbulence;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue