diff --git a/src/types/Inbound.cpp b/src/types/Inbound.cpp index f2e6ab3..ea5e85b 100644 --- a/src/types/Inbound.cpp +++ b/src/types/Inbound.cpp @@ -280,9 +280,9 @@ void Inbound::predictETA(const EuroScopePlugIn::CRadarTarget& target, const Euro /* get the ground speed */ Velocity groundspeed; if (0 == target.GetGS()) - groundspeed = static_cast(target.GetPosition().GetReportedGS()) * knot; + groundspeed = static_cast(target.GetPosition().GetReportedGS()) * knot; else - groundspeed = static_cast(target.GetGS()) * knot; + groundspeed = static_cast(target.GetGS()) * knot; const auto& destination = gsl::at(this->m_arrivalRoute, this->m_nextStarWaypoint); Length distanceToNextWaypoint = 0_m;