]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIMultiplayer.cxx
Removed legacy interactive approach ATC
[flightgear.git] / src / AIModel / AIMultiplayer.cxx
index b2fe6b841636c38c11635aba75f25bdf0d64bcf8..476ddf205b54e1de4f3aa71ac315dab62ff240df 100644 (file)
@@ -63,7 +63,12 @@ bool FGAIMultiplayer::init(bool search_in_AI_path) {
         isTanker = true;
         //        cout << "isTanker " << isTanker << " " << mCallSign <<endl;
     }
-   return FGAIBase::init(search_in_AI_path);
+
+    // load model
+    bool result = FGAIBase::init(search_in_AI_path);
+    // propagate installation state (used by MP pilot list)
+    props->setBoolValue("model-installed", _installed);
+    return result;
 }
 
 void FGAIMultiplayer::bind() {