mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Minor follow up of "settings" for terrain probe (style)
This commit is contained in:
committed by
Mat Sutcliffe
parent
271c6c4825
commit
6221102b97
@@ -530,7 +530,7 @@ namespace XSwiftBus
|
|||||||
{
|
{
|
||||||
if (!getSettings().isTerrainProbeEnabled()) { return {{ std::numeric_limits<double>::quiet_NaN(), latitudeDeg, longitudeDeg }}; }
|
if (!getSettings().isTerrainProbeEnabled()) { return {{ std::numeric_limits<double>::quiet_NaN(), latitudeDeg, longitudeDeg }}; }
|
||||||
|
|
||||||
auto planeIt = m_planesByCallsign.find(callsign);
|
const auto planeIt = m_planesByCallsign.find(callsign);
|
||||||
if (planeIt != m_planesByCallsign.end())
|
if (planeIt != m_planesByCallsign.end())
|
||||||
{
|
{
|
||||||
const Plane *plane = planeIt->second;
|
const Plane *plane = planeIt->second;
|
||||||
|
|||||||
Reference in New Issue
Block a user