From ada0e34738453fd52351ca02cf3d3a5638a54da3 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Thu, 19 Jul 2018 00:53:53 +0200 Subject: [PATCH] Ref T268, also "signal" received elevation if not updated in provider --- src/blackcore/simulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackcore/simulator.cpp b/src/blackcore/simulator.cpp index 07ca3b6ea..e36bfb587 100644 --- a/src/blackcore/simulator.cpp +++ b/src/blackcore/simulator.cpp @@ -306,7 +306,7 @@ namespace BlackCore ISimulationEnvironmentProvider::rememberGroundElevation(callsign, plane); // in simulator const int updated = CRemoteAircraftAware::updateAircraftGroundElevation(callsign, plane, CAircraftSituation::FromProvider); - if (updated < 1) { return; } + Q_UNUSED(updated); emit this->receivedRequestedElevation(plane, callsign); }