]> git.mxchange.org Git - flightgear.git/commitdiff
Comment out ATC AI manager init() and update() calls until we can resolve
authorcurt <curt>
Mon, 22 Apr 2002 22:28:00 +0000 (22:28 +0000)
committercurt <curt>
Mon, 22 Apr 2002 22:28:00 +0000 (22:28 +0000)
the tremendous performance hit they are imposing.

src/Main/fg_init.cxx
src/Main/main.cxx

index 5987109497856665ad019bf264b37d6f86953cc5..9f8c6ebff778bf4fc2b9ee7aa4c2be061b1b6be6 100644 (file)
@@ -953,8 +953,8 @@ bool fgInitSubsystems( void ) {
     ////////////////////////////////////////////////////////////////////
 
     SG_LOG(SG_GENERAL, SG_INFO, "  AI Manager");
-    globals->set_AI_mgr(new FGAIMgr);
-    globals->get_AI_mgr()->init();     
+    // globals->set_AI_mgr(new FGAIMgr);
+    // globals->get_AI_mgr()->init();     
 
     ////////////////////////////////////////////////////////////////////
     // Initialize the built-in commands.
index 5e758d7d68deb31c48b4c930a103893909876242..fa1088da421f3b7d6a7ab720bf2beb50872d0922 100644 (file)
@@ -1038,7 +1038,7 @@ static void fgMainLoop( void ) {
     globals->get_ATC_mgr()->update(1); // FIXME - use real dt.
 
     // Run the AI subsystem
-    globals->get_AI_mgr()->update(1);  // FIXME - use real dt.
+    // globals->get_AI_mgr()->update(1);       // FIXME - use real dt.
 
     // Run flight model