From 39869b582a23597a9b98239016cc7cd22acfba3b Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Thu, 19 Oct 2006 02:39:05 +0000
Subject: [PATCH] Fix a typo so that turbulence can work in JSBSim models once
 again.

---
 src/FDM/JSBSim/models/FGAtmosphere.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
   }