mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Formatting
This commit is contained in:
committed by
Roland Winklmeier
parent
e97de13545
commit
b5ba4013dd
@@ -922,7 +922,8 @@ namespace BlackCore
|
||||
CAircraftSituation correctedSituation(situation);
|
||||
if (!correctedSituation.hasGroundElevation() && !correctedSituation.canLikelySkipNearGroundInterpolation())
|
||||
{
|
||||
const CElevationPlane ep = this->findClosestElevationWithinRangeOrRequest(correctedSituation, correctedSituation.getDistancePerTime(1000), callsign);
|
||||
const CLength distance(correctedSituation.getDistancePerTime(1000));
|
||||
const CElevationPlane ep = this->findClosestElevationWithinRangeOrRequest(correctedSituation, distance, callsign);
|
||||
correctedSituation.setGroundElevation(ep);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user