1
0
Fork 0

Don't forget to clear the previous configuration

This commit is contained in:
ehofman 2009-09-07 07:52:30 +00:00 committed by Tim Moore
parent ea4a3ee1df
commit aeefd12522

View file

@ -535,11 +535,13 @@ FGGeneric::reinit()
SGPropertyNode *output = root.getNode("generic/output");
if (output) {
_out_message.clear();
read_config(output, _out_message);
}
SGPropertyNode *input = root.getNode("generic/input");
if (input) {
_in_message.clear();
read_config(input, _in_message);
}
}