Ref T773, style and comments

This commit is contained in:
Klaus Basan
2020-01-31 18:29:16 +01:00
committed by Mat Sutcliffe
parent 9924eb4551
commit 812619470b
3 changed files with 9 additions and 3 deletions

View File

@@ -365,9 +365,15 @@ namespace BlackCore
if (this->isShuttingDown()) { return; }
if (plane.isNull()) { return; }
// update in simulator
ISimulationEnvironmentProvider::rememberGroundElevation(callsign, plane); // in simulator
// and in remote aircraft for given callsign
const int updated = CRemoteAircraftAware::updateAircraftGroundElevation(callsign, plane, CAircraftSituation::FromProvider);
Q_UNUSED(updated)
// signal we have received the elevation
// used by log display
emit this->receivedRequestedElevation(plane, callsign);
}