]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGAtmosphere.cpp
builddir -> srcdir so builds can be done outside the master source directory.
[flightgear.git] / src / FDM / JSBSim / FGAtmosphere.cpp
index f31daec2c413857f702f790e48cc009bd6351729..71025aef72e95fefb6ff5b0959b1c03ceb8d7d18 100644 (file)
@@ -108,8 +108,8 @@ bool FGAtmosphere::Run(void)
             //and we know that headwinds increase the relative
             //velocity, so to make a positive delta U from the
             //southerly wind the sign must be switched.
-            vWindNED*=-1;
-            vWindUVW=State->GetTl2b()*vWindNED;
+            vWindNED *= -1;
+            vWindUVW  = State->GetTl2b()*vWindNED;
         }
         soundspeed = sqrt(SHRATIO*Reng*temperature);
         //cout << "Atmosphere: soundspeed: " << soundspeed << endl;