1
0
Fork 0

Comment out ATC AI manager init() and update() calls until we can resolve

the tremendous performance hit they are imposing.
This commit is contained in:
curt 2002-04-22 22:28:00 +00:00
parent cf146a7d1b
commit 6b22c85e24
2 changed files with 3 additions and 3 deletions

View 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.

View 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