]> git.mxchange.org Git - flightgear.git/commitdiff
Reinstate the check for aircraft that are under tower control.
authorDurk Talsma <durk@localhost.(none)>
Sun, 7 Aug 2011 07:24:15 +0000 (09:24 +0200)
committerDurk Talsma <durk@localhost.(none)>
Sun, 7 Aug 2011 07:24:15 +0000 (09:24 +0200)
src/Airports/groundnetwork.cxx

index a97f8075a00e93dd399a46b4b8f5b3a0bf3f8e02..32dbdfc15ef55bc3a9d342007b9d15ea5be4f865 100644 (file)
@@ -710,8 +710,6 @@ void FGGroundNetwork::checkSpeedAdjustment(int id, double lat,
             }
         }
         //Check traffic at the tower controller
-        // Note, as of 2011-08-01, this should no longer be necessecary.
-        /*
         if (towerController->hasActiveTraffic()) {
             for (TrafficVectorIterator i =
                  towerController->getActiveTraffic().begin();
@@ -734,6 +732,7 @@ void FGGroundNetwork::checkSpeedAdjustment(int id, double lat,
         }
         // Finally, check UserPosition
         // Note, as of 2011-08-01, this should no longer be necessecary.
+        /*
         double userLatitude = fgGetDouble("/position/latitude-deg");
         double userLongitude = fgGetDouble("/position/longitude-deg");
         SGGeod user(SGGeod::fromDeg(userLongitude, userLatitude));