]> git.mxchange.org Git - flightgear.git/commitdiff
Dave Luff:
authorcurt <curt>
Mon, 10 Feb 2003 20:42:18 +0000 (20:42 +0000)
committercurt <curt>
Mon, 10 Feb 2003 20:42:18 +0000 (20:42 +0000)
Patch to remove initialisation of atislist,towerlist and
approachlist which have been superceeded by commlist.

src/Main/fg_init.cxx

index 1824afbaf6885de4411aa6ee9f0229663c40c8ff..804fda6fce7933704c7d17302d952d76a010d0c2 100644 (file)
@@ -76,9 +76,6 @@
 #include <Airports/simple.hxx>
 #include <ATC/ATCdisplay.hxx>
 #include <ATC/ATCmgr.hxx>
-#include <ATC/atislist.hxx>
-#include <ATC/towerlist.hxx>
-#include <ATC/approachlist.hxx>
 #include <ATC/AIMgr.hxx>
 #include <Autopilot/auto_gui.hxx>
 #include <Autopilot/newauto.hxx>
@@ -1599,28 +1596,6 @@ bool fgInitSubsystems() {
     p_fix.append( "Navaids/default.fix" );
     current_fixlist->init( p_fix );
 
-    ////////////////////////////////////////////////////////////////////
-    // Initialize ATC list management and query systems
-    ////////////////////////////////////////////////////////////////////
-
-    SG_LOG(SG_GENERAL, SG_INFO, "  ATIS");
-    current_atislist = new FGATISList;
-    SGPath p_atis( globals->get_fg_root() );
-    p_atis.append( "ATC/default.atis" );
-    current_atislist->init( p_atis );
-
-    SG_LOG(SG_GENERAL, SG_INFO, "  Tower");
-    current_towerlist = new FGTowerList;
-    SGPath p_tower( globals->get_fg_root() );
-    p_tower.append( "ATC/default.tower" );
-    current_towerlist->init( p_tower );
-
-    SG_LOG(SG_GENERAL, SG_INFO, "  Approach");
-    current_approachlist = new FGApproachList;
-    SGPath p_approach( globals->get_fg_root() );
-    p_approach.append( "ATC/default.approach" );
-    current_approachlist->init( p_approach );
-
     ////////////////////////////////////////////////////////////////////
     // Initialise ATC display system
     ////////////////////////////////////////////////////////////////////