From 6b22c85e246145bc22ccd12a1207335ba50e760e Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Mon, 22 Apr 2002 22:28:00 +0000 Subject: [PATCH] Comment out ATC AI manager init() and update() calls until we can resolve the tremendous performance hit they are imposing. --- src/Main/fg_init.cxx | 4 ++-- src/Main/main.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 598710949..9f8c6ebff 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -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. diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 5e758d7d6..fa1088da4 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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