From: curt Date: Thu, 19 Oct 2006 02:39:05 +0000 (+0000) Subject: Fix a typo so that turbulence can work in JSBSim models once again. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=39869b582a23597a9b98239016cc7cd22acfba3b;p=flightgear.git Fix a typo so that turbulence can work in JSBSim models once again. --- diff --git a/src/FDM/JSBSim/models/FGAtmosphere.cpp b/src/FDM/JSBSim/models/FGAtmosphere.cpp index 23d96f00d..2441f843f 100644 --- a/src/FDM/JSBSim/models/FGAtmosphere.cpp +++ b/src/FDM/JSBSim/models/FGAtmosphere.cpp @@ -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; }