mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Ref T773, style and comments
This commit is contained in:
committed by
Mat Sutcliffe
parent
9924eb4551
commit
812619470b
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user