From: curt Date: Tue, 29 Jan 2008 15:02:47 +0000 (+0000) Subject: Clear chat messages when an aircraft becomes inactive in the property tree. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4fa75196ce7a5eee85d2a4e607f9bef3a9c96d4a;p=flightgear.git Clear chat messages when an aircraft becomes inactive in the property tree. --- diff --git a/src/AIModel/AIManager.cxx b/src/AIModel/AIManager.cxx index cec1980ac..e0ef64813 100644 --- a/src/AIModel/AIManager.cxx +++ b/src/AIModel/AIManager.cxx @@ -155,6 +155,8 @@ FGAIManager::update(double dt) { props->setIntValue("id", -1); props->setBoolValue("radar/in-range", false); props->setIntValue("refuel/tanker", false); + props->setStringValue("sim/multiplay/chat", ""); + props->setStringValue("sim/multiplay/transmission-freq-hz", ""); ai_list_itr = ai_list.erase(ai_list_itr); } else {