Remove the deprecated warning for JSBSim's egt_degf
At least no FGDATA aircraft uses this property anymore.
This commit is contained in:
parent
1642f1141a
commit
4da0760edd
1 changed files with 0 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue