1
0
Fork 0

Expose the "spool-time" of a Jet engine as a configuration parameter.

This apparently got forgotten -- the tunable was there, but nothing
exposed it in the parser.
This commit is contained in:
andy 2005-10-21 19:30:58 +00:00
parent 7ece674857
commit 55e1bb2f10

View 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);