]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/groundnetwork.cxx
#545: Fix ATC chatter sound settings being ignored
[flightgear.git] / src / Airports / groundnetwork.cxx
index 8036319a5cc093e4161a2b90772ef8c0190b1b8e..20d0a793de89d16ed4b341abe67383b2666f809e 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <math.h>
 #include <algorithm>
+#include <fstream>
 
 
 #include <osg/Geode>
@@ -1336,11 +1337,11 @@ void FGGroundNetwork::render(bool visible)
     if (visible) {
         group = new osg::Group;
         FGScenery * local_scenery = globals->get_scenery();
-        double elevation_meters = 0.0;
+        // double elevation_meters = 0.0;
         double elevation_feet = 0.0;
         time_t now = time(NULL) + fgGetLong("/sim/time/warp");
         //for ( FGTaxiSegmentVectorIterator i = segments.begin(); i != segments.end(); i++) {
-        double dx = 0;
+        //double dx = 0;
         for   (TrafficVectorIterator i = activeTraffic.begin(); i != activeTraffic.end(); i++) {
             // Handle start point
             int pos = i->getCurrentPosition() - 1;