mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T773, style (simulator)
This commit is contained in:
committed by
Mat Sutcliffe
parent
acd5ee5a3c
commit
a5f4705bb1
@@ -363,7 +363,7 @@ namespace BlackCore
|
||||
void ISimulator::callbackReceivedRequestedElevation(const CElevationPlane &plane, const CCallsign &callsign)
|
||||
{
|
||||
if (this->isShuttingDown()) { return; }
|
||||
if (plane.isNull()) { return; } // this happens if requested for a coordinate where scenery is not available-
|
||||
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;
|
||||
|
||||
@@ -821,7 +821,6 @@ namespace BlackSimPlugin
|
||||
|
||||
void CSimulatorFlightgear::onRemoteAircraftAddingFailed(const QString &callsign)
|
||||
{
|
||||
|
||||
BLACK_VERIFY_X(!callsign.isEmpty(), Q_FUNC_INFO, "Need callsign");
|
||||
if (callsign.isEmpty()) { return; }
|
||||
const CCallsign cs(callsign);
|
||||
@@ -838,7 +837,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
|
||||
const bool wasPending = (m_addingInProgressAircraft.remove(cs) > 0);
|
||||
Q_UNUSED(wasPending);
|
||||
Q_UNUSED(wasPending)
|
||||
|
||||
if (failedRemoteAircraft.hasCallsign() && !m_aircraftAddedFailed.containsCallsign(cs))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user