mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T773, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
8e89488bae
commit
fe1e976093
@@ -1429,7 +1429,7 @@ namespace BlackCore
|
||||
fromNonMoving = true;
|
||||
}
|
||||
|
||||
// do we have a elevation yet?
|
||||
// do we have an elevation yet?
|
||||
if (!averagePlane.isNull())
|
||||
{
|
||||
correctedSituation.setGroundElevation(averagePlane, CAircraftSituation::Average);
|
||||
|
||||
@@ -363,7 +363,7 @@ namespace BlackCore
|
||||
void ISimulator::callbackReceivedRequestedElevation(const CElevationPlane &plane, const CCallsign &callsign)
|
||||
{
|
||||
if (this->isShuttingDown()) { return; }
|
||||
if (plane.isNull()) { return; }
|
||||
if (plane.isNull()) { return; } // this happens if requested for a coordinate where scenery is not available-
|
||||
|
||||
// Update in remote aircraft for given callsign
|
||||
bool updatedForOnGroundPosition = false;
|
||||
|
||||
Reference in New Issue
Block a user