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:
parent
cf146a7d1b
commit
6b22c85e24
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue