From 1b88a799c07a2e3501be3d3a95e40c0a37831763 Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 10 May 2005 09:44:13 +0000 Subject: [PATCH] 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 --- src/Main/main.cxx | 2 +- src/Main/renderer.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 859076967..d44796c84 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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 diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index 2664a29e0..7316d4206 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -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