Index: src/Main/options.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/options.cxx,v
retrieving revision 1.108
diff -u -r1.108 options.cxx
--- src/Main/options.cxx	1 May 2008 21:14:02 -0000	1.108
+++ src/Main/options.cxx	15 Jun 2008 15:48:03 -0000
@@ -236,6 +236,8 @@
     fgSetBool("/sim/freeze/clock", false);
     fgSetBool("/sim/freeze/fuel", false);
 
+    fgSetBool("/sim/ai/restrict-multiplayer", false);
+
     fgSetString("/sim/multiplay/callsign", "callsign");
     fgSetString("/sim/multiplay/rxhost", "0");
     fgSetString("/sim/multiplay/txhost", "0");
@@ -1266,6 +1268,8 @@
     {"enable-real-weather-fetch",    false, OPTION_BOOL,   "/environment/params/real-world-weather-fetch", true, "", 0 },
     {"disable-ai-models",            false, OPTION_BOOL,   "/sim/ai/enabled", false, "", 0 },
     {"enable-ai-models",             false, OPTION_BOOL,   "/sim/ai/enabled", true, "", 0 },
+    {"enable-ai-restrict-multiplayer",      false, OPTION_BOOL,   "/sim/ai/restrict-multiplayer", true , "", 0 },
+    {"disable-ai-restrict-multiplayer",     false, OPTION_BOOL,   "/sim/ai/restrict-multiplayer", false, "", 0 },
     {"disable-freeze",               false, OPTION_BOOL,   "/sim/freeze/master", false, "", 0 },
     {"enable-freeze",                false, OPTION_BOOL,   "/sim/freeze/master", true, "", 0 },
     {"disable-fuel-freeze",          false, OPTION_BOOL,   "/sim/freeze/fuel", false, "", 0 },
Index: src/AIModel/AIManager.hxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/AIModel/AIManager.hxx,v
retrieving revision 1.47
diff -u -r1.47 AIManager.hxx
--- src/AIModel/AIManager.hxx	22 Mar 2008 09:31:07 -0000	1.47
+++ src/AIModel/AIManager.hxx	15 Jun 2008 15:48:03 -0000
@@ -94,6 +94,7 @@
 private:
 
     bool enabled;
+    bool restrict_multiplayer;
     int mNumAiTypeModels[FGAIBase::MAX_OBJECTS];
     int mNumAiModels;
 
Index: src/AIModel/AIManager.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/AIModel/AIManager.cxx,v
retrieving revision 1.84
diff -u -r1.84 AIManager.cxx
--- src/AIModel/AIManager.cxx	1 Jun 2008 14:59:20 -0000	1.84
+++ src/AIModel/AIManager.cxx	15 Jun 2008 15:48:03 -0000
@@ -61,6 +61,8 @@
 
     enabled = root->getNode("enabled", true)->getBoolValue();
 
+    restrict_multiplayer = root->getNode("restrict-multiplayer", true)->getBoolValue();
+
     if (!enabled)
         return;
 
@@ -183,6 +185,13 @@
     SGPropertyNode* p;
     int i;
 
+    // restrict_multiplayer => only static and otMultiplayer are display 
+    if ( ( restrict_multiplayer ) && 
+    	 ( model->getType()!=FGAIBase::otMultiplayer && model->getType()!=FGAIBase::otStatic ) ) {
+          return ;
+    }
+
+
     // find free index in the property tree, if we have
     // more than 10000 mp-aircrafts in the property tree we should optimize the mp-server
     for (i = 0; i < 10000; i++) {
