fix a typo in the scaling

This commit is contained in:
Sven Czarnian
2021-11-25 22:51:25 +01:00
parent eb521fca8b
commit 684ca40c1c

View File

@@ -290,7 +290,7 @@ void Inbound::update(EuroScopePlugIn::CRadarTarget& target) {
const auto newGS = this->groundSpeed(altitude, this->indicatedAirspeed(altitude), heading); const auto newGS = this->groundSpeed(altitude, this->indicatedAirspeed(altitude), heading);
groundSpeed = std::min(groundSpeed, newGS); groundSpeed = std::min(groundSpeed, newGS);
distance = (groundSpeed + oldGS) * 0.5f * 11_s; distance = (groundSpeed + oldGS) * 0.5f * 1_s;
} }
} }