]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/tower.cxx
any wind < 1kt is "calm", not just 0.0
[flightgear.git] / src / ATC / tower.cxx
index d499ff0269630e4fe5a6c9b973880ccd774c84b5..fccaaaba16bfd0386b55b9fa3e6c0434d33b1732 100644 (file)
@@ -2635,7 +2635,7 @@ string FGTower::GetWeather() {
        // wind
        double hdg = wind_from_hdg->getDoubleValue();
        double speed = wind_speed_knots->getDoubleValue();
-       if (speed==0)
+       if (speed < 1)
                msg << "wind calm";
        else
                msg << "wind " << int(hdg) << " degrees at " << int(speed) << " knots";