From 55e1bb2f101f52565419367431480a885412c367 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 21 Oct 2005 19:30:58 +0000 Subject: [PATCH] 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. --- src/FDM/YASim/FGFDM.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FDM/YASim/FGFDM.cpp b/src/FDM/YASim/FGFDM.cpp index 19846f8d6..1ebc52476 100644 --- a/src/FDM/YASim/FGFDM.cpp +++ b/src/FDM/YASim/FGFDM.cpp @@ -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);