1
0
Fork 0

Reinstate the check for aircraft that are under tower control.

This commit is contained in:
Durk Talsma 2011-08-07 09:24:15 +02:00
parent 7d6b4d139c
commit 63151fd579

View 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));