X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fprops.cxx;h=3504f99c8c75115730f0a0584e6e49310d05a8f4;hb=0aabc112b4f586f94365ccf1e906d6e4fb78dc10;hp=47f53aa75941d4afcdae448b80ba66a912240af1;hpb=dc5a58fdcf3f316a16dd293d24c1da4c689b0d9b;p=flightgear.git diff --git a/src/Network/props.cxx b/src/Network/props.cxx index 47f53aa75..3504f99c8 100644 --- a/src/Network/props.cxx +++ b/src/Network/props.cxx @@ -330,6 +330,14 @@ PropsChannel::foundTerminator() = args.getNode("subsystem", i-2, true); node->setStringValue( tokens[i].c_str() ); } + } else if ( tokens[1] == "set-sea-level-air-temp-degc" ) { + for ( unsigned int i = 2; i < tokens.size(); ++i ) { + cout << "props: set-sl command = " << tokens[i] + << endl; + SGPropertyNode *node + = args.getNode("temp-degc", i-2, true); + node->setStringValue( tokens[i].c_str() ); + } } else if ( tokens[1] == "set-outside-air-temp-degc" ) { for ( unsigned int i = 2; i < tokens.size(); ++i ) { cout << "props: set-oat command = " << tokens[i] @@ -476,6 +484,7 @@ FGProps::open() bool FGProps::close() { + SG_LOG( SG_IO, SG_INFO, "closing FGProps" ); return true; }