1
0
Fork 0

don't use /sim/ATC/ and /sim/atc/ wildly mixed together; it's only /sim/atc/

now, just as it was everywhere in ATC/ATCDialog.cxx already
This commit is contained in:
mfranz 2005-05-10 09:44:13 +00:00
parent e23c5e49c9
commit 1b88a799c0
2 changed files with 2 additions and 2 deletions

View file

@ -435,7 +435,7 @@ static void fgMainLoop( void ) {
#endif
// Run ATC subsystem
if (fgGetBool("/sim/ATC/enabled"))
if (fgGetBool("/sim/atc/enabled"))
globals->get_ATC_mgr()->update(delta_time_sec);
// Run the AI subsystem

View file

@ -742,7 +742,7 @@ FGRenderer::update( bool refresh_camera_settings ) {
// Use the hud_and_panel ssgSimpleState for rendering the ATC output
// This only works properly if called before the panel call
if((fgGetBool("/sim/ATC/enabled")) || (fgGetBool("/sim/ai-traffic/enabled")))
if((fgGetBool("/sim/atc/enabled")) || (fgGetBool("/sim/ai-traffic/enabled")))
globals->get_ATC_display()->update(delta_time_sec);
// update the panel subsystem