]> git.mxchange.org Git - flightgear.git/commitdiff
don't use /sim/ATC/ and /sim/atc/ wildly mixed together; it's only /sim/atc/
authormfranz <mfranz>
Tue, 10 May 2005 09:44:13 +0000 (09:44 +0000)
committermfranz <mfranz>
Tue, 10 May 2005 09:44:13 +0000 (09:44 +0000)
now, just as it was everywhere in ATC/ATCDialog.cxx already

src/Main/main.cxx
src/Main/renderer.cxx

index 859076967407e172d0613f620173b73447bd2381..d44796c840814ce240acc17ceb4c3dd2333d3cbd 100644 (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
index 2664a29e0ca735cb063465ed2455b98437a69371..7316d420663bd1342b8f5baa1205f0c4d123a28a 100644 (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