From: ehofman Date: Mon, 7 Sep 2009 07:52:30 +0000 (+0000) Subject: Don't forget to clear the previous configuration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aeefd12522ebc9fecdc3d2b600425c8c1c8f9185;p=flightgear.git Don't forget to clear the previous configuration --- diff --git a/src/Network/generic.cxx b/src/Network/generic.cxx index 0e01985e3..b518a8a32 100644 --- a/src/Network/generic.cxx +++ b/src/Network/generic.cxx @@ -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); } }