1
0
Fork 0

Clear chat messages when an aircraft becomes inactive in the property tree.

This commit is contained in:
curt 2008-01-29 15:02:47 +00:00
parent 380c9f90c4
commit 4fa75196ce

View file

@ -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 {