From: curt Date: Mon, 22 Apr 2002 22:28:00 +0000 (+0000) Subject: Comment out ATC AI manager init() and update() calls until we can resolve X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b22c85e246145bc22ccd12a1207335ba50e760e;p=flightgear.git Comment out ATC AI manager init() and update() calls until we can resolve the tremendous performance hit they are imposing. --- 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