]> git.mxchange.org Git - flightgear.git/commitdiff
Expose the "spool-time" of a Jet engine as a configuration parameter.
authorandy <andy>
Fri, 21 Oct 2005 19:30:58 +0000 (19:30 +0000)
committerandy <andy>
Fri, 21 Oct 2005 19:30:58 +0000 (19:30 +0000)
This apparently got forgotten -- the tunable was there, but nothing
exposed it in the parser.

src/FDM/YASim/FGFDM.cpp

index 19846f8d66db020692491067adbae30f4c169f8e..1ebc5247681432a96a2d633fb696f5247dd4fe97 100644 (file)
@@ -220,6 +220,8 @@ void FGFDM::startElement(const char* name, const XMLAttributes &atts)
        if(a->hasAttribute("epr"))  j->setEPR(attrf(a, "epr"));
        if(a->hasAttribute("exhaust-speed"))
            j->setVMax(attrf(a, "exhaust-speed") * KTS2MPS);
+       if(a->hasAttribute("spool-time"))
+           j->setSpooling(attrf(a, "spool-time"));
        
        j->setPosition(v);
        _airplane.addThruster(j, mass, v);