+// deprecate egt_degf for egt-degf to have consistent naming
+// TODO: raise log-level to ALERT in summer 2010,
+// remove alias in fall 2010,
+// remove this code in winter 2010
+ 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_WARN,
+ "Aircraft uses deprecated node egt_degf. Please upgrade to egt-degf");
+ node->getNode("egt-degf", true)->alias( egtn );
+ }
+ }
+// end of egt_degf deprecation patch
+