From f9a215a3362bfaa47152dd235e5a17ebdfe927c8 Mon Sep 17 00:00:00 2001 From: Roland Rossgotterer Date: Tue, 25 Dec 2018 23:26:53 +0100 Subject: [PATCH] Increase ATIS range to be equal with APP/DEP having 150 nm Summary: The previous 50 nm were too short. Maniphest Tasks: T481 Differential Revision: https://dev.swift-project.org/D83 --- src/blackcore/vatsim/networkvatlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackcore/vatsim/networkvatlib.cpp b/src/blackcore/vatsim/networkvatlib.cpp index f57a765b7..5fcc551e9 100644 --- a/src/blackcore/vatsim/networkvatlib.cpp +++ b/src/blackcore/vatsim/networkvatlib.cpp @@ -1044,7 +1044,7 @@ namespace BlackCore CLength range(pos->visibleRange, CLengthUnit::NM()); QString cs = cbvar_cast(cbvar)->fromFSD(callsign); // ATIS often have a range of 0 nm. Correct this to a proper value. - if (cs.contains("_ATIS") && pos->visibleRange == 0) { range.setValueSameUnit(50.0); } + if (cs.contains("_ATIS") && pos->visibleRange == 0) { range.setValueSameUnit(150.0); } CCoordinateGeodetic position(pos->latitude, pos->longitude, 0); emit cbvar_cast(cbvar)->atcPositionUpdate(CCallsign(cs, CCallsign::Atc), freq, position, range); }