Final warning before egt_degf gets purged
This commit is contained in:
parent
54f1b83f98
commit
7ae9122f4e
1 changed files with 2 additions and 3 deletions
|
@ -381,14 +381,13 @@ void FGJSBsim::init()
|
|||
<< ", " << fdmex->GetAtmosphere()->GetDensity() );
|
||||
|
||||
// deprecate egt_degf for egt-degf to have consistent naming
|
||||
// TODO: remove this by end of 2011
|
||||
// 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 node egt_degf. Please upgrade to egt-degf");
|
||||
node->getNode("egt-degf", true)->alias( egtn );
|
||||
"*** Aircraft uses deprecated and now unsupported node egt_degf. Please upgrade to egt-degf");
|
||||
}
|
||||
}
|
||||
// end of egt_degf deprecation patch
|
||||
|
|
Loading…
Add table
Reference in a new issue