1
0
Fork 0

Remove the deprecated warning for JSBSim's egt_degf

At least no FGDATA aircraft uses this property anymore.
This commit is contained in:
Torsten Dreyer 2012-02-15 15:13:33 +01:00
parent 1642f1141a
commit 4da0760edd

View file

@ -395,18 +395,6 @@ void FGJSBsim::init()
<< ", " << Atmosphere->GetPressure()
<< ", " << Atmosphere->GetDensity() );
// deprecate egt_degf for egt-degf to have consistent naming
// TODO: remove this for 2.6.0
for (unsigned int i=0; i < Propulsion->GetNumEngines(); i++) {
SGPropertyNode * node = fgGetNode("engines/engine", i, true);
SGPropertyNode * egtn = node->getNode( "egt_degf" );
if( egtn != NULL ) {
SG_LOG(SG_FLIGHT,SG_ALERT,
"*** Aircraft uses deprecated and now unsupported node egt_degf. Please upgrade to egt-degf");
}
}
// end of egt_degf deprecation patch
FCS->SetDfPos( ofNorm, globals->get_controls()->get_flaps() );
needTrim = startup_trim->getBoolValue();