]> git.mxchange.org Git - flightgear.git/commitdiff
Fix apparently ancient typo.
authorandy <andy>
Fri, 5 Dec 2008 17:33:57 +0000 (17:33 +0000)
committerandy <andy>
Fri, 5 Dec 2008 17:33:57 +0000 (17:33 +0000)
src/FDM/YASim/YASim.cxx

index c77aff9d8fbd70382993c273aa43d09246883c46..f874cd330ffc6bad65bbd70bcd858081091afdab 100644 (file)
@@ -416,7 +416,7 @@ void YASim::copyFromYASim()
     _set_V_rel_wind(Math::mag3(v)*M2FT); // units?
 
     float P = fgGetDouble("/environment/pressure-inhg") * INHG2PA;
-    float T = fgGetDouble("/environment/temperature-degC") + 273.15;
+    float T = fgGetDouble("/environment/temperature-degc") + 273.15;
     float D = fgGetFloat("/environment/density-slugft3")
         *SLUG2KG * M2FT*M2FT*M2FT;
     _set_V_equiv_kts(Atmosphere::calcVEAS(v[0], P, T, D)*MPS2KTS);