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:
parent
e23c5e49c9
commit
1b88a799c0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue